Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.cookiechimp.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Add a GDPR, ePrivacy and CCPA compliant cookie consent banner to your Squarespace site. CookieChimp installs through Squarespace’s built-in Code Injection — no theme edits required.
1

Copy your CookieChimp snippet

Log in to your CookieChimp dashboard and copy your website's JS snippet:
<script src="https://cookiechimp.com/widget/abc123.js"></script>
Replace abc123 with your website's unique CookieChimp ID.
2

Add the snippet via Code Injection

  1. Log into your Squarespace dashboard.
  2. Navigate to Website → Pages in the main menu.
  3. Expand the Utilities (or Website Tools) section and select Code Injection.
  4. Paste the CookieChimp snippet into the Header section. This ensures the script loads in the <head> of every page.
  5. Click Save at the top of the page.
The CookieChimp script needs to be the first script in the <head> section so it can block other scripts before they run and set cookies without consent. If other scripts are added before, they may set cookies and other storage items before consent is granted.
3

Disable Squarespace's built-in cookie banner

Squarespace has a built-in cookie banner that will conflict with CookieChimp. Turn it off:
  1. Go to Settings → Cookies & Visitor Data.
  2. Disable the Squarespace Cookie Banner.
You’ll now use CookieChimp as your single source of consent.
4

Block scripts & cookies

To stay compliant with GDPR and other privacy regulations, you need to actively block non-essential scripts and cookies until the user gives consent. See our Scripts Management Section for full details.
Common third-party tools on Squarespace include Google Analytics, Facebook Pixel, and chat widgets — these typically belong to the analytics or marketing categories. If you add them via Code Injection or Code blocks, update them to use type="text/plain" and a data-category attribute.
5

Allow users to update their preferences

CookieChimp provides a floating privacy icon (Privacy Trigger) that lets users manage cookie preferences at any time. Enable it in the banner settings.To open the preferences modal from a custom button or link, add the data attribute data-cc="show-preferencesModal":
<button type="button" data-cc="show-preferencesModal">
  Manage cookie preferences
</button>

Troubleshooting

  • Make sure your Squarespace domain (including any custom domain you’ve connected) is allowed in the Account Settings in your CookieChimp dashboard.
  • Some Squarespace plans (notably the Personal plan) do not support Code Injection. You’ll need the Business plan or higher to use CookieChimp.
  • Code Injection is only applied on the live site — it will not run inside the Squarespace editor preview.
  • Enable Debug mode from the CookieChimp dashboard and check the browser JS console for errors.
If you encounter any issues or need further assistance, please reach out to us via our chat.
Code Injection is available on Squarespace’s Business plan and above (Business, Commerce Basic, Commerce Advanced). The Personal plan does not support custom code.
Yes. CookieChimp runs in the <head> of every Squarespace page, including Commerce product pages, checkout (when allowed by your plan) and Member Areas.
No. The CookieChimp script is under 30KB gzipped, loads asynchronously and is served from a global CDN. It doesn't block rendering and won't meaningfully affect your Lighthouse scores.
CookieChimp has a free tier suitable for low-traffic sites, with paid plans for higher traffic and additional features. See pricing.