Add a Form to Your Shopify Store

Build a form in Edesy Forms, copy the embed code and paste it into a Custom Liquid section in your theme. Show it inline, as a popup or as a slider. No Shopify app to install.

How to add a form to Shopify

Four steps in the theme editor

Build your form
Sign up free and build a form or start from a template
Copy the embed code
Open Share, choose inline, popup or slider and copy the code
Add Custom Liquid
In the theme editor, add a Custom Liquid section and paste the code
Save and test
Save the theme and submit a test response on the live page

Three ways to show your form

Pick the style in the Share dialog before you copy the code

Inline

The form sits inside a page or product section and resizes to fit automatically.

Popup

A button opens the form in a small, medium or large popup, or it opens on page load.

Slider

A button slides the form in from the left or right edge of the store.

What the embed code looks like

Copy the exact code from the Share dialog in Edesy Forms. An inline form looks like this:

<div data-edesy-form="YOUR_FORM_ID" data-auto-resize="true"></div>
<script async src="https://form-app.edesy.in/embed.js"></script>

A slider that opens from the right uses a button:

<button data-edesy-slider="YOUR_FORM_ID" data-position="right" data-width="420">Ask a question</button>
<script async src="https://form-app.edesy.in/embed.js"></script>

Where to paste it in Shopify

  • A single page (Online Store 2.0 themes): Online Store, Themes, Customize. Open the page template, click Add section, choose Custom Liquid and paste the code.
  • Product pages: open the product template in the theme editor and add a Custom Liquid block or section where the form should appear.
  • Every page (popup or slider): add the Custom Liquid section to the footer area so the button is available across the store.
  • Older themes: paste the code into the page template or theme.liquid through Edit code. Keep a copy of the theme before editing code.

Track submissions

When a customer submits an embedded form, the page receives an edesy:submitted event with the form ID, response ID and submission reference. You can use it in your own analytics script:

<script>
  document.addEventListener("edesy:submitted", function (event) {
    // event.detail has formId, responseId and submissionId
    console.log("Form submitted", event.detail.formId);
  });
</script>

If the form does not appear

  1. Check the live store, not only the theme editor preview.
  2. Make sure both lines of the code were pasted, including the script tag.
  3. On Pro, if you limited which sites can embed the form, add your store domain (and your myshopify.com domain if you use it).

Forms that help a Shopify store

Collect the details your product pages cannot

Contact and pre-sales questions

Let shoppers ask about sizing, stock or delivery before they buy.

Custom order requests

Collect personalisation details and reference images, then quote the customer yourself.

Wholesale and B2B enquiries

Ask for business name, GSTIN, volumes and location in one form.

Returns and warranty requests

Capture order number, reason and photos of the item.

Feedback and NPS

Ask customers how likely they are to recommend your store.

Giveaways and sign-ups

Run a contest entry or waitlist form with a response cap and close date.

What your store form can do

Included on the Free plan unless noted

Drag-and-drop builder

Multi-page forms with 13 question types and conditional logic.

Spam protection

Cloudflare Turnstile CAPTCHA, response caps and one response per browser.

Email notifications

An email for each response. Pro adds confirmation emails to customers.

Integrations

Send responses to a webhook, Slack, Discord or Zapier.

Analytics

Views, submissions, completion time and drop-off by question.

Themes

Colours, fonts, logo and cover image to fit your brand.

Embed instead of installing an app

Keep your store lean

Why use an embed

  • No app to install

    Nothing added to your store's app list

  • Free to start

    Unlimited forms and responses under fair use

  • Works on any theme

    Anywhere you can add Custom Liquid or HTML

  • Reuse anywhere

    Embed the same form on other sites too

Handling responses

  • Email alerts

    Know when a customer gets in touch

  • Team access

    Share forms with Owner, Admin, Editor or Viewer roles

  • CSV export

    Download responses for your records

  • Follow up fast

    Send leads on through Zapier or a webhook

Shopify forms FAQ

Explore more

Templates, integrations and other ways to use Edesy Forms

Add a form to your store today

Sign up free, build a form and paste the embed code into your theme.