Iubenda logo
Start generating


Table of Contents

Cookie Solution – Squarespace Integration Guide

Except for exempt categories of cookies, the Cookie Law also requires you to obtain users’ informed and active consent before storing cookies on a user’s device and/or tracking them. Scripts that install or could install cookies must be blocked before consent is obtained; users must be able to deny or withdraw consent, and they must be fully informed of what actions constitute consent. 

We suggest that you take a look at this article for further details on complying with the Cookie Law.

Our Cookie Solution makes it easy for you to meet these requirements by allowing you to:

  • easily inform users via banner and a dedicated cookie policy page (which is automatically linked to your privacy policy and integrates what’s necessary for cookie law compliance);
  • obtain and save cookie consent settings;
  • preventively block scripts prior to consent; and
  • keep track of consent and save consent settings for each user for up to 12 months from the last site visit.

You can collect consent via multiple mechanisms including continued browsing, scrolling, and/or specific clicking actions. Keep in mind though that allowed consenting actions may differ depending on the Member State law.

Setting-up the Cookie Solution

The process is straightforward:

If you’ve already integrated the privacy policy on your Squarespace site (which also includes the cookie policy if you’ve activated it), you can jump directly to “Embedding the Cookie Solution“. Otherwise, continue reading below.

Create your account then go to your Dashboard > website/app area:


The Cookie Solution requires that you link to a cookie policy from you banner as legally required. If you have the cookie policy feature activated on your iubenda account (as explained here), the Cookie Solution automatically integrates your cookie policy into the solution once the option is selected. Otherwise, if you already have your own compliant cookie policy, you can simply insert your own link there. Either way, please remember that a cookie policy is required.

Embedding the Cookie Solution on your site

To configure the iubenda Cookie Solution you must modify the HEAD of your Squarespace site. To do so, you first need to click on Settings > Advanced > Code Injection.

Code Injection is a Squarespace premium feature available only on Business and Commerce plans.

On this screen that follows, you will need to copy paste your iubenda Cookie Solution code in the box of the Header section.

You can find your Cookie Solution code here:  Dashboard > [Your website/app] then Cookie Solution > Embed.

Squarespace - Cookie Solution
The IDs “12345678” are just samples; your siteId and cookiePolicyId will have their own IDs.

Now simply click on Save.

This will cause the iubenda cookie banner to appear on the page at each user’s first visit. User consent will be registered via the latter’s continued browsing activity and then memorized so that the Cookie Solution will not be reactivated on the same user’s next visit.

Squarespace - Cookie Solution

All available options to customize the cookie banner’s style and behaviour are described in this guide.


Remember to set up the blocking of scripts that require prior user consent by using one of the methods outlined in this guide.

⚠️ Caution

After installation, please be sure to set-up prior blocking, as this is legally mandatory under EU Law. You can find various methods of prior blocking along with full instructions in this guide.

See also