Sitebase
Docs

Notion and no-code platforms

Sitebase works on any website, and that includes hosted platforms. On most of them — Shopify, WordPress, Webflow — the regular script snippet just works. For the ones that don't allow scripts, every feature also lives at its own URL: paste it into the platform's embed block and the feature renders inside it — forms, submissions, spam protection and all.

The embed URL

Platforms like Notion strip script tags, so the regular embed snippet can't run there. Instead, every published feature has a hosted page:

https://sitebase.dev/embed/sb_ESf6nEaF8LsO4dhyNCRME7

It's ready to copy from the feature's Setup tab, right below the script snippet. Testimonials get separate URLs for the wall, grid, carousel, marquee, and collection form — for example ?variant=wall to show approved testimonials and ?variant=form to collect new ones.

Tip: when you add a website in the dashboard, pick the platform in the Built with field (domains like yoursite.notion.site are detected automatically). The Setup tab then leads with the embed URL and instructions for that platform.

Embedding on Notion

  1. Copy the feature's embed URL from its Setup tab.
  2. In Notion, type /embed on the page where the feature should appear and pick Embed.
  3. Paste the URL and choose Create embed.
  4. Drag the bottom edge of the block to give the feature the height it needs.

That's it. The feature works on the page in your workspace, on pages shared to the web, and on Notion sites (yoursite.notion.site or a custom domain). Visitors can submit forms directly inside the embed.

Wix and Squarespace

The same URL works anywhere a page can embed by URL or iframe. The element is called something different on each platform:

  • Wix — Add → Embed → Embed HTML / iframe
  • Squarespace — Embed block

If you prefer raw HTML, an iframe works too:

<iframe src="https://sitebase.dev/embed/sb_ESf6nEaF8LsO4dhyNCRME7" style="width:100%;height:480px;border:0"></iframe>

On platforms that can run scripts — WordPress, Shopify, Webflow, and most others — the regular script snippet is the better choice: it sizes itself to the content automatically.

Analytics and install detection

Embedded features report pageviews for the page they're on, so your Notion site feeds the website's analytics with no extra setup — the first view also marks the website as installed. Since the site-level tracking snippet can't run on these platforms, only pages with an embedded feature are counted.

One caveat: the page is identified through the browser's referrer. Most platforms send the full page URL; some send only the domain, in which case all views show up under /.

Spam protection

Honeypot and rate limiting work exactly as with the script embed. Turnstile works too, out of the box — embed pages are served from sitebase.dev, so they use Sitebase's own Turnstile keys and you don't need to configure anything.

Next: Analytics