Embedding a campaign

Drop your campaign onto any website with a script tag, an iframe, or the hosted page.

Open the Embed tab of any campaign to copy a snippet. Three options, in order of simplicity:

Works in any HTML page. Drop this where you want the form to appear:

<div id="sjocamp-form"></div>
<script
  src="https://app.sjocamp.co/embed.js"
  data-campaign-id="YOUR_CAMPAIGN_ID"
></script>

The script reads your campaign config and renders the form in-place. Updates to the form in the dashboard appear automatically — no redeploy needed.

2. iframe

If your site or platform doesn’t allow custom scripts (some hosted CMSs), use the iframe variant:

<iframe
  src="https://app.sjocamp.co/embed/YOUR_CAMPAIGN_ID"
  width="100%"
  height="500"
  frameborder="0"
></iframe>

3. Hosted page

Every campaign has a hosted URL at:

https://app.sjocamp.co/embed/YOUR_CAMPAIGN_ID

Link to it directly from social posts, emails, or QR codes. No setup required.

Widget styles

In the Embed tab you can pick the widget shape:

  • Full — the form rendered inline as a block (best for landing pages)
  • Mini — a compact bar with email + button (best for sidebars and footers)
  • Docked — a floating button that opens the form in a panel (best for full-app overlays)

Removing the Sjocamp badge

Free campaigns include a small “Powered by Sjocamp” badge. Pro and Team plans remove it.

Platform guides

The script-tag snippet works on Webflow, Framer, WordPress, Shopify, Squarespace, Wix, Carrd, and Notion (via embed blocks). Paste it into the platform’s “Embed code” or “HTML block” component.

Tracking referrals

If you’ve enabled referrals, append ?ref=CODE to the URL where the form is embedded. The referral code is captured automatically when the visitor signs up. See Referrals.