How to Add a Cookie Policy to Squarespace
Last updated on October 20, 2026
On this page
Prerequisites
After you sign up, you will be directed to the installation screens. You can install the cookie banner to support GDPR compliant for your use of cookies. To create a cookie policy first, skip the installation step and go to the app dashboard.
How to generate a cookie policy for Squarespace website
Step 1: Access the Cookie Policy Generator
Step 2: Configure Language Settings

Step 3: Add About Cookies Details

Step 4: Add Use of Cookies Details

Step 5: Review and Edit Types of Cookies

Step 6: Set Cookie Preferences and Generate the Policy

The Revisit consent widget enables your website visitors to manage their cookie preferences. You can remove the code in the field if you don’t want a widget to be displayed. For more details, refer to the guide.
Add the Cookie Policy to Squarespace

Option 1: One-click install (recommended)
Step 1: Select One-click install
Step 2: Create a policy page in Squarespace
- Log in to your Squarespace account.
- In My Dashboard, select your site.
- In the side menu, click Pages.

- In the Pages panel, click the + icon, then select Blank Page.

- Enter Cookie Policy as the page name, then click Edit.

- Copy the URL of the cookie policy page and paste it into the CookieYes web app.

Step 3: Embed the policy code
- In the page editor, click Add Section, then select Add a blank section.
- Click + Add Block, then select Code.
- Paste <div id="cky-auto-cookie-policy"></div> into the code block.

- Click Done, then click Save.
Step 4: Publish and verify
- Return to the CookieYes web app.
- Click Publish cookie policy.

- Open the live cookie policy page on your Squarespace website.Your cookie policy page is now live on your Squarespace website. You can link the cookie policy in your website footer, and within your cookie banner so visitors can read it before they give consent.
Option 2: Hosted URL
Step 1: Copy the hosted URL
If someone else manages your website, click Send URL to a teammate to share the link with them.
Step 2: Add the link to Squarespace
- Log in to your Squarespace account.
- In My Dashboard, select your site.
- Open any page, then click Edit.
- Scroll to the footer, then click EDIT SITE FOOTER.

- Click + ADD BLOCK, select Text, then enter Cookie Policy.
- Select the text, click the Link icon, then paste the hosted URL.

- Click Done, then click Save.
Option 3: Code snippet
Step 1: Copy the code snippet
Step 2: Create a policy page in Squarespace
- Log in to your Squarespace account.
- In My Dashboard, select your site.
- In the side menu, click Pages.

- In the Pages panel, click the + icon, then select Blank Page.

- Enter Cookie Policy as the page name, then click Edit.

Step 3: Embed the policy code
- In the page editor, click Add Section, then select Add a blank section.
- Click + Add Block, then select Code.
- Paste the JavaScript snippet into the code block.

- Click Done, then click Save.
Option 4: HTML format
Step 1: Copy the HTML
Step 2: Create a policy page in Squarespace
- Log in to your Squarespace account.
- In My Dashboard, select your site.
- In the side menu, click Pages.

- In the Pages panel, click the + icon, then select Blank Page.

- Enter Cookie Policy as the page name, then click Edit.

Step 3: Add the HTML
- In the page editor, click Add Section, then select Add a blank section.
- Click + Add Block, then select Code.
- Paste the HTML into the code block.

- Click Done, then click Save.
To remove the Cookie Policy heading at the top of the page, delete the following line from the HTML code: <h1 class="cookie-policy-h1">Cookie Policy</h1>




