Ghost · Free · No signup · No plugin

Embed a form in Ghost

Ghost's HTML card accepts arbitrary HTML, including iframes. Generate the snippet, drop it in, publish.

Steps to embed in Ghost

  1. Generate the embed code

    Paste your form URL into the generator and pick Responsive iframe.

  2. Open the Ghost editor

    Edit the post or page where you want the form.

  3. Insert an HTML card

    Type / to open the card menu and choose 'HTML'.

  4. Paste the snippet

    Paste the generated code into the card.

  5. Publish

    Click Publish or Update. Newsletter sends keep the iframe link as a fallback.

Ghost embed code generator

Paste your form URL — works with LemForms, Typeform, Tally, Jotform, Google Forms, Paperform, or any embeddable form. The Ghost HTML card accepts the snippet below.

Aspect-ratio wrapper, scales to width

<div style="position:relative;padding-top:62.5%;width:100%;">
  <iframe
    src="https://lemforms.com/f/your-form-id"
    style="position:absolute;inset:0;width:100%;height:100%;border:0;"
    loading="lazy"
    title="Embedded form"
  ></iframe>
</div>
Paste the snippet into the HTML of any platform — WordPress (Custom HTML block), Webflow (Embed), Framer (Embed), Wix (HTML iframe), Squarespace (Code block), Shopify (Custom Liquid), Notion (Embed), Ghost (HTML card), Carrd (Embed), or plain HTML.

Live preview

This is the exact iframe your visitors will see. If it looks wrong here, it will look wrong on your site.

Where to paste it, per platform

WordPress

Block editor → add a Custom HTML block, paste, then Preview.

Gotcha: Classic editor strips iframes in Visual mode — switch to the Text tab first.

Full WordPress embed guide →
Webflow

Add an Embed element (Add panel → Components → Embed) and paste.

Gotcha: Embeds don't render in the Designer canvas — use Preview or publish to see the form.

Full Webflow embed guide →
Framer

Insert → Utility → Embed, choose HTML, paste the snippet.

Gotcha: Set the frame to Fixed height, or the iframe collapses to 0px.

Full Framer embed guide →
Wix

Add → Embed Code → Embed HTML → Code, paste, then resize the box.

Gotcha: Wix wraps embeds in a fixed box — drag it taller than the form or it scrolls internally.

Full Wix embed guide →
Squarespace

Add a Code block, set it to HTML, paste, and untick 'Display Source'.

Gotcha: Code blocks are unavailable on the Personal plan — use an embed block instead.

Full Squarespace embed guide →
Shopify

Theme editor → add a Custom Liquid section and paste the snippet.

Gotcha: Escape any Liquid-looking braces; Shopify tries to parse `{{ }}` inside Custom Liquid.

Full Shopify embed guide →
Notion

Type /embed, paste the form URL directly (Notion builds the iframe).

Gotcha: Notion ignores raw HTML — use the plain form URL, not the snippet.

Full Notion embed guide →
Carrd

Add → Embed → Code, paste, set Style to Inline.

Gotcha: Carrd doesn't auto-size iframes — set an explicit height or the form gets clipped.

Full Carrd embed guide →

Frequently asked questions

Will the form render inside the email newsletter?

Most email clients block iframes — Ghost falls back to a link. Use a Full-page variant for newsletters.

Does it work in members-only posts?

Yes — iframes are rendered for any visitor who can view the post.

Can I embed in the site theme?

Yes — edit the theme's .hbs templates and paste the snippet anywhere HTML is allowed.

Build the form you'll embed in Ghost

LemForms gives you the embed URL — plus conditional logic, calculations, file uploads, webhooks, and a real submissions dashboard. Free to start.

Try LemForms free