How to Add a Form to Ghost

November 6, 2024

Ghost is an open-source platform made for writers, publishers, and creators who want a clean, straightforward way to share their content. It’s known for its minimalist design and user-friendly interface, perfect for building websites, publishing blogs, or sending newsletters. Ghost keeps things simple, letting you focus on connecting with your audience without getting bogged down by extra features you don’t need.

Now, if you add an online form to your Ghost site, you can take that connection even further. Forms make it easy to capture feedback, collect sign-ups, or get new content ideas directly from your readers. It’s a great way to hear from your audience, learn what they’re looking for, and build a real sense of community around your work.

Getting the Embed Code

Follow these steps to copy the form embed code for your Ghost page or blog post:

  1. In Form Builder, click on Publish.
  2. Next, click on Platforms.
Platforms tab of Form Builder Publish tab in Jotform
  1. Then, select Ghost. You can use the search bar to find it easily.
Ghost publish option in Platforms tab of Form Builder in Jotform
  1. In the next screen, click on Copy Code.
Ghost Copy Code button in Platforms tab of Form Builder in Jotform

Embedding the Form

Once you are signed in to your Ghost site address, follow these steps to embed your form on your Ghost website:

  1. Click on the Pages tab on the left side of the page.
  2. Next, click on the Pencil icon on the right of the page you want to embed your form.
Ghost Copy Code button in Platforms tab of Form Builder in Jotform
  1. In Ghost editor, click the Plus icon to open the Card menu.
  2. Select the HTML card to add it to your website.
HTML card option in the Cards menu on the Ghost editor
  1. Paste your form embed code into the source code editor.
Form embed code in the HTML card source code editor on Ghost editor
  1. Click on the Update button at the top of the page to apply the changes.
Update button on the Ghost editor

Viewing Embedded Form

The Ghost Editor saves any changes automatically as draft. After you paste your form embed code and update your website, the HTML card will show an Embedded Javascript message in the Ghost editor.

Embedded Javascript message on the HTML card in Ghost editor

Your embedded form will show when you preview your unpublished website.

Preview screen in the Ghost editor

It will appear on your published website after you click on the Update button in the Ghost editor.

Notes
The above steps are for Ghost’s page. But the steps are the same if you want to add a form to your Ghost posts.

Ghost Pro is used in this guide, but the steps are the same for a self-installed Ghost website.

Push Notifications for Jotform Apps
Contact Support:

Our customer support team is available 24/7 and our average response time is between one to two hours.
Our team can be contacted via:

Support Forum: https://www.jotform.com/answers/

Contact Jotform Support: https://www.jotform.com/contact/

Send Comment:

Jotform Avatar
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Comments:

  • brielletyshawn60 - Profile picture
  • Ghost - Profile picture
  • Naana - Profile picture
  • deansoloaga - Profile picture
  • vegasnight - Profile picture
  • fnagd - Profile picture