Before you start: for popups, add your store’s addresses under
Contacts > Forms > Websites: your custom domain and, if visitors use it, your
your-store.myshopify.com address. Copy the website’s install snippet. For an embedded form,
publish it and copy its embed code from the Share tab.Install the site script
- Custom Liquid in the theme editor
- theme.liquid
This route doesn’t touch your theme’s code, so theme updates keep it.The footer group isn’t shown on every template in every theme. If popups don’t appear on
some pages, such as checkout, that’s because Shopify doesn’t let themes add scripts there.
1
Open the theme editor
In Shopify admin, go to Online Store > Themes and select Customize on your live
theme.
2
Add a Custom Liquid section to the footer
In the footer area, which appears on every page, select Add section and choose
Custom Liquid.
3
Paste the snippet and save
Paste the install snippet into the Custom Liquid box, then select Save:
Embed a form
- In the theme editor, open the page or template where the form goes.
- Select Add section (or Add block inside a section) and choose Custom Liquid.
- Paste the form’s embed code and select Save:
Related
Popups
Create the popups the site script shows.
Embed a form
Embed variants, layouts and prefill.