A cookie consent banner for Squarespace via Code Injection. Google Consent Mode v2, pre-consent blocking, and one dashboard for everything. No plugin to install.
Replace YOUR_SITE_KEY with the key from your dashboard.
<script type="module" src="https://app.consentx.io/api/YOUR_SITE_KEY/embed.js"></script>
Paste a single tag into Code Injection. The banner loads site-wide with nothing else to configure.
Consent signals are denied by default before tags load and update the moment a visitor chooses.
Known trackers are blocked client-side until the visitor consents, so you stay compliant by default.
The banner adapts to the visitor's region for GDPR, CCPA, LGPD, and DPDPA from your dashboard.
Banner copy, categories, cookies, DSAR, and reports update on your live site instantly.
The widget is served from a global edge cache and updates itself. Nothing to keep patched.
In ConsentX, open Websites → your site and copy the site key.
In Squarespace: Settings → Advanced → Code Injection (Business or Commerce plan).
Add the snippet below to the Header box, replacing YOUR_SITE_KEY, and Save.
Add your .squarespace.com and custom domain to the property in ConsentX. The banner is live.
Tip: turn off Squarespace's built-in cookie banner under Settings → Cookies & Visitor Data so visitors only see ConsentX. For Google Consent Mode v2, add the denied-by-default snippet above the loader (see the install guide).
Create a ConsentX account, add your Squarespace site, and paste one line. It is free to start.