Webflow / Wix / Squarespace

No-code sites with custom code embeds.

Keys required. Create a site in the dashboard and copy your site key (HTML) and secret key (server). Replace sq_live_your_key in the snippets below.

How this integration works

Same three steps as every other platform — only the paste location and server hook change.

StepWhat you do for Webflow / Wix / Squarespace
1 Add squeaker.js in site-wide custom code (footer).
2 Embed HTML block with <squeaker-widget> inside the form.
3 Point the form to your server or serverless function that verifies the token.

Recommended settings

SettingValue
Widget mode Auto (recommended) — Runs on form submit — best for most forms
Form ID #contact-form
Server verify Node.js

Important notes

Copy-paste snippet

Paste into your Webflow / Wix / Squarespace form or template. Load squeaker.js once per page.

<!-- Custom code embed (before </body>) -->
<script src="https://cdn.squeaker.cc/squeaker.js" async defer></script>

<!-- Embed HTML block inside your form -->
<squeaker-widget
  data-sitekey="sq_live_your_key"
  data-api="https://api.squeaker.cc/v1"
  data-mode="auto"
  data-theme="light"
  data-form="#contact-form"
></squeaker-widget>

<!-- Point form action to your server or serverless function that verifies squeaker-token -->

Server verification

Read squeaker-token from the request and POST to /v1/verify with your secret key. Full reference: Server verify docs.

// In your form handler — no npm package required
const apiUrl = process.env.SQUEAKER_API_URL ?? 'https://api.squeaker.cc/v1';
const token = req.body['squeaker-token'];
if (!token) return res.status(400).json({ error: 'Missing token' });

const verifyRes = await fetch(`${apiUrl}/verify`, {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    secret: process.env.SQUEAKER_SECRET,
    token,
    remoteip: req.ip,
  }),
});
const result = await verifyRes.json();
if (!result.success) {
  return res.status(403).json({ error: result.error ?? 'Invalid token' });
}

// Token valid — process the form

Open setup generator with Webflow / Wix / Squarespace pre-selected · Browse all platforms