How to add a cookie banner on Squarespace

Learn how to easily add a cookie banner to your Squarespace site with this step-by-step guide and ensure compliance with privacy laws like GDPR and CCPA.

HB
Hannah BarnstoneTechnical Product Manager
Read time
4 min read
Last
Updated

Summarize this article with

Adding a cookie banner to your Squarespace site is an essential step toward ensuring compliance with data privacy laws such as GDPR and CCPA . Follow these simple steps to integrate a cookie banner on Squarespace using the Ketch smart tag.

A cookie consent banner on Squarespace ensures your site complies with privacy laws like GDPR and CCPA. It informs visitors about your website’s data collection practices and allows them to manage their preferences. It’s a simple yet powerful way to build trust with your audience while staying compliant with privacy regulations.

Read also: Wix cookie banner and Webflow cookie consent and Wordpress cookie banner and Bigccommerce cookie popup

To add a cookie banner on Squarespace, go to Settings > Website Tools > Code Injection. Paste your cookie banner script (e.g., Ketch smart tag) into the Header section. Save your changes, and the cookie banner will appear on your site, helping you comply with privacy regulations like GDPR and CCPA.

Before you begin, ensure you have access to your Ketch account and your Squarespace site editor. Here's how to get started:

Step 1: Access the Squarespace Site Editor

  • Log in to your Squarespace account and open the editor for the site where you want to add the cookie banner.
  • In the editor, locate the left-hand panel. Click on Website and then select Pages to access your site’s structure.
cookie banner and Squarespace Site Editor

Click on Website and then select Pages.

Step 2: Open Custom Code

Still on the left-hand panel, click on Custom Code to access additional configuration options for your Squarespace site.

click on custom code in squarespace

Click on Custom Code in the left menu.

Step 3: Go to Code Injection

Next, click on Code Injection from the menu. This section allows you to add custom scripts to your Squarespace site’s header and footer. Once you've done that, it's time to grab your cookie banner code from Ketch.

Go to Code Injection to add cookie banner code

Go to Code Injection to add cookie banner code

Step 4: Grab the Ketch Smart Tag

grab the ketch tag for your Squarespace cookie banner

On the Properties screen, select the right property and click on Export Code.

copy the tag for your cookie banner on squarespace

Copy the Website Smart Tag code provided.

Step 5: Add the cookie banner code

In the Header section of the Code Injection screen, paste the Ketch smart tag script you copied earlier. Ensure that the script is placed correctly to avoid any functionality issues.

Add the cookie banner code to squarespace

In the Header section of the Code Injection screen, paste the Ketch smart tag script.

Step 6: Save your changes

Once the cookie banner script has been added, click Save to apply the changes. Your cookie banner will now be active on your Squarespace site.

Save the cookie banner

Click Save to apply the changes.

Your cookie banner will now be active on your Squarespace site.

“As a fast-growing but early-stage start-up operating across 3 regions (US, UK/EU, and Australia), Ketch was the obvious choice for us. Ketch made it easy to be compliant in all 3 regions, plugged straight into our website builder, and had excellent customer support. Thanks Ketch for making cookie consent banners easy!”

- Vivienne Chan, ‍Co-founder, Veraty

Growing small businesses get Ketch Free to achieve data privacy compliance at no cost, and with peace of mind.

Ketch offers a free, no-code cookie banner and consent management solution tailored for small businesses. It enables users to create customizable cookie banners that comply with privacy regulations such as GDPR and CCPA.

Learn more

Do I need a cookie banner for my Squarespace site?

Yes, if your site collects data through cookies, a cookie banner ensures compliance with privacy laws like GDPR and CCPA while enhancing transparency.

Where can I find the Ketch smart tag?

Log in to your Ketch account and navigate to the Properties screen. The smart tag script will be available there for copying.

What is Code Injection in Squarespace?

Code Injection is a feature in Squarespace that allows you to add custom code to your site’s header or footer for advanced customization.

Can I customize the design of the cookie banner?

Yes, many tools like Ketch allow you to customize the banner’s appearance to match your website’s design and branding.

How do I know if my cookie banner is working?

Visit your site in an incognito browser window to test if the banner appears and functions as expected. Ensure it allows users to manage their cookie preferences.

Next step

Retire your cookie banner for true compliance

Start free with the full-feature CMP, then expand into the full Permissioning layer, with consent collected, enforced, and audited everywhere.

Get Started Free

Get started in less than 5 min