Embedding by platform
Step-by-step embed instructions for Webflow, Framer, WordPress, Shopify, Squarespace, Carrd, and Notion.
The script-tag embed from the Embed tab works on every platform that allows custom HTML. Here’s exactly where to paste it for the most common hosts.
Webflow
- Drag an Embed element onto the page where the form should appear.
- Paste the script-tag snippet into the embed’s HTML field.
- Save and publish — the form renders on the live site.
For a site-wide installation (e.g., a docked widget on every page), paste the snippet into Project Settings → Custom Code → Footer Code instead.
Framer
- In the canvas, click Insert → Embed.
- Paste the snippet into the HTML input.
- Resize the embed frame to fit the form.
For the full-width form, set the embed’s width to Fill in the right panel.
WordPress
Block editor (Gutenberg)
- Add a Custom HTML block where you want the form.
- Paste the snippet.
- Update the post.
Classic editor / Elementor
Use the HTML widget (Elementor) or switch to the Text tab (Classic editor) and paste the snippet.
Note: some WordPress hosts strip
<script>tags from posts. If the form doesn’t appear, install the Insert Headers and Footers plugin and add the snippet to the footer.
Shopify
- Online Store → Themes → Customize.
- Add a Custom Liquid section to the page.
- Paste the script-tag snippet.
For the popup widget on every page, paste it into theme.liquid just before </body>.
Squarespace
- Edit the page and add a Code block.
- Paste the script-tag snippet.
- Save.
Squarespace’s Personal plan blocks the Code block — you need Business or higher.
Carrd
- In the editor, add an Embed element.
- Choose Code type.
- Paste the snippet.
Notion
Notion’s HTML embed support is limited — <script> tags don’t run inside Notion pages. Use the hosted page URL instead and embed it via Notion’s “Embed” block, which renders an iframe.
Bubble
- Add an HTML element to the page.
- Paste the snippet into the element’s HTML field.
- Set the element’s height to fit the form (typically 400–500px).
Plain HTML / React / any framework
The script-tag snippet works in any HTML page. For React/Next.js apps where you control the build, the React component variant is cleaner — see Embedding a campaign.
If the form doesn’t appear
- Open browser devtools → Console and look for errors. The most common issue is a Content Security Policy (CSP) blocking
app.sjocamp.co. Add it to your CSP’sscript-srcandconnect-src. - Confirm the
data-campaign-idmatches the ID shown in your Embed tab. - If your platform strips script tags, fall back to the iframe embed.
More fixes in Troubleshooting.