Add an AI form to your Shopify store in under 2 minutes
Shopify's theme editor makes embedding the Sift widget straightforward. You can add it to any page using a Custom Liquid section, or theme-wide via the theme.liquid file. Once installed, customers can describe what they need in plain language instead of filling out rigid forms.
YOUR_FORM_ID and YOUR_PUBLIC_KEY in the snippets below.Install Sift on Shopify
- 1
Open the Shopify theme editor
From your Shopify admin, go to Online Store → Themes, find your active theme, and click Customize to open the editor.
- 2
Pick the page and add a Custom Liquid section
Use the page selector to navigate to where you want the widget. Click Add section, search for Custom Liquid, and add it to the layout.
- 3
Paste the embed snippet and save
Paste the Sift script into the Custom Liquid box, replace YOUR_FORM_ID and YOUR_PUBLIC_KEY with your dashboard values, then click Save. The widget appears immediately.
{% comment %} Sift AI Form Widget {% endcomment %}
<script
src="https://siftforms.com/widget/v1.js"
data-schema-id="YOUR_FORM_ID"
data-api-key="YOUR_PUBLIC_KEY"
async
></script>Alternative install methods
Theme-wide install (theme.liquid)
For a widget on every page (e.g. a global support form), edit theme.liquid in the code editor and paste the snippet just before the closing </body> tag.
Product-page install
Edit the product template and add a Custom Liquid block to make the widget appear on every product page — useful for collecting custom-order specs or quote requests.
Tips for the best results
- Place the widget above the fold on contact and quote-request pages for highest conversion
- Use Sift's webhook integration to push extracted leads directly into Shopify Customer notes
- The widget uses Shadow DOM, so your theme styles will not interfere with it
- Bundle size is 8KB gzipped — no impact on Shopify's Lighthouse score
Troubleshooting
Widget does not appear after saving
Check that you replaced both YOUR_FORM_ID and YOUR_PUBLIC_KEY with the actual values from your Sift dashboard. Refresh the storefront with a hard reload (Cmd+Shift+R or Ctrl+Shift+F5).
Widget appears but cannot submit
This usually means the form is inactive or the API key is incorrect. Verify in your Sift dashboard that the form is Active and the public API key starts with iq_pub_.
Embed Sift on other platforms
WordPress
Add the Sift widget to WordPress using the Custom HTML block, a header/footer plugin, or directly in your theme files. Works with classic editor, Gutenberg, and Elementor.
Squarespace
Embed the Sift widget on Squarespace pages using the built-in Code Block. Works on Squarespace 7.0 and 7.1, on any plan that supports Code Blocks.
Wix
Add the Sift widget to Wix using the Custom Element or HTML iFrame embed. Both options take less than 3 minutes to set up.
Ready to embed Sift on Shopify?
Create your first form in your dashboard, then come back and paste the snippet above.