Answers/Can I embed a form in Shopify?

Can I embed a form in Shopify?

Updated March 2026

Yes. Two lines of HTML. Shopify supports custom HTML in pages, theme sections, blog posts, and theme.liquid.

The most common approach: go to your Shopify admin, Online Store, then Pages. Create or edit a page. Click the HTML button (<> icon) to switch to HTML mode. Paste the snippet. Save.

For theme sections -- like adding a form to your homepage or a product page -- edit your theme code. Go to Online Store, Themes, three-dot menu, Edit Code. Add the snippet to a section file.

For a site-wide form (like a footer feedback widget), add the script tag to theme.liquid before the closing body tag. Then place the div container in the specific template where you want the form.

Shopify's content security policy allows external scripts, so embed.js loads without issues. The iframe is sandboxed with the right permissions.

Common uses on Shopify: pre-purchase inquiry forms, custom order requests, post-purchase feedback, wholesale applications, return requests. Set up webhooks to send submissions to your email, Slack, or a custom backend.

Works on all Shopify themes -- Dawn, Debut, custom. Renders responsively. No theme-specific CSS needed.

<!-- Add to a Shopify page (HTML mode) or theme section -->
<script src="https://sutrena.com/embed.js" defer></script>
<div data-sutrena-form="YOUR_FORM_ID"></div>

Ready to build?

Get a trial API key instantly — no signup required.

Can I embed a form in Shopify? — Sutrena | Sutrena