Steps to embed in Shopify
- Generate the embed code
Paste your form URL into the generator and pick Responsive iframe.
- Open Shopify admin
Go to Online Store → Pages, edit the page where the form should appear.
- Switch to HTML mode
Click the < > icon in the editor toolbar to enable raw HTML.
- Paste the snippet
Paste the generated code where you want the form to render.
- Save the page
Click Save. To embed in a theme section, use a Custom Liquid block instead.
Shopify embed code generator
Paste your form URL — works with LemForms, Typeform, Tally, Jotform, Google Forms, Paperform, or any embeddable form. The Shopify Custom Liquid block 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>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
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 →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 →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 →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 →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 →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 →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 →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
Do I need a paid Shopify plan?
No — iframe embeds work on every Shopify plan, including the basic tier.
Can I embed in the product page?
Yes — add a Custom Liquid section to the product template and paste the snippet there.
Does Shopify's CSP block iframes?
Storefront pages allow iframes from external origins. If you see a frame-ancestors error, check your form host's CSP, not Shopify's.
Build the form you'll embed in Shopify
LemForms gives you the embed URL — plus conditional logic, calculations, file uploads, webhooks, and a real submissions dashboard. Free to start.
Try LemForms freeEmbed in other platforms
- Embed a form in WordPressPaste any form URL and get the WordPress embed code — works in the block editor, Classic editor, Elementor, and full-site themes. Free, no plugin.
- Embed a form in WebflowPaste any form URL and get the Webflow embed snippet for the Embed element. Works in the Designer, Editor, and any CMS template.
- Embed a form in FramerPaste any form URL and get the Framer embed snippet for the Embed component. Works on every Framer breakpoint.
- Embed a form in WixPaste any form URL and get the Wix iframe embed snippet for the HTML Embed widget. No premium plan required.
- Embed a form in SquarespacePaste any form URL and get the Squarespace embed snippet for the Code block. Works on all Squarespace plans.
- Embed a form in GhostPaste any form URL and get the Ghost embed snippet for the HTML card. Works in posts, pages, and newsletters.