Note: While our most popular guides have been translated into Spanish, some guides are only available in English.

Adding a cookie banner

Squarespace places cookies on visitors’ browsers to help your site run effectively, provide the best experience for your visitors, and help you learn more about traffic to your site.

Certain laws may require website owners to inform their visitors of cookies placed by their website and to receive visitors’ affirmative consent to use certain types of cookies, for example non-essential cookies. On your site, you can:

When a visitor accepts or declines your website's cookies, they won't see the cookie banner again for 30 days, unless they clear their cookies.

Cookies help us run Squarespace. To learn more about Squarespace's analytics, cookies, and similar technologies, visit The cookies Squarespace uses and our Cookie Policy

Note: Adding our cookie banner doesn’t disable or restrict cookies placed by third party services connected to your website, such as Facebook Pixel or Google Analytics. If you use third party cookies or similar tracking technologies, we recommend talking to a professional or using a specialist third-party cookie consent management tool to comply with your individual requirements.

Step 1 - Add the cookie banner

To display a cookie notice banner:

  1. In the Home Menu, click Settings, and then click Cookies & Visitor Data. Check Enable Cookie Banner.
  2. Switch on the toggle beside Cookie banner.
  3. Choose the cookie banner Type.
    • Opt-in displays a customizable button for visitors to accept your site’s cookies.
    • Opt-in & out displays two customizable buttons for customers to accept or decline your site’s cookies.
  4. Choose the cookie banner Format. Click the options to display a preview.
  5. Click Save, then click Customize to edit the banner theme, call to action, and text.
  6. Choose whether to restrict analytics cookies.
Note: Cookie notice requirements vary depending on your location and cookie use. While we provide sample text you can use, you shouldn’t assume that it satisfies your particular legal requirements.

Step 2 - Style the cookie banner

Use the position, theme, CTA, and button label options to choose how your cookie banner displays.

  • Cookie Banner Position - Choose where the banner displays.
  • Cookie Banner Theme - Give the banner a light or dark style.
  • Cookie Banner CTA Type - Choose whether the call to action displays as text, a button, or an icon. For text or a button, the text is customizable.
  • Opt-in and Opt-out button label - Customize the button text that customers use to accept or decline your cookies. Click Restore default cookie message to use our preset cookie banner text.

When you're done, click Save.

Note: If your cookie banner bar is set to Top but displaying at the bottom, use the pop-up style instead.

Preview the banner

To preview the banner, log out of your Squarespace account or open your site in Private Browsing or Incognito mode. The banner doesn’t display when you’re logged in.

Add a link to your privacy or cookie policy

To create a separate privacy or cookie policy and link to it from your banner, follow these steps:

  1. Add a layout page. Name it Privacy Policy or Cookie Policy (or something similar), and add your policy text.
  2. Return to the Cookie Banner panel. In the text field, add a link to the new page.
  3. Click Save.

For more help, visit Sharing policies and terms on your site.

Tip: To hide this page from your navigation menu, add it to the Not linked section. You can also hide it from search engines.
Note: Squarespace can’t provide advice about the content of a privacy or cookie policy page.

Restrict analytics cookies until visitors acknowledge your banner

To prevent Squarespace from sending analytics cookies to visitors until they click the confirmation message on your banner:

  1. In the Home Menu, click Settings, and then click Cookies & Visitor Data.
  2. Switch the toggle on beside Enable Cookie Banner to add the banner.
  3. Switch the toggle on beside Disable Squarespace Analytics. If you choose the Opt in & out banner type, this toggle is switched on by default.
  4. Click Save.

You can also disable all Squarespace analytics cookies.

Note: Disabling Squarespace analytics and Performance Cookies doesn’t disable cookies placed by third-party services connected to your site, such as Facebook Pixel or Google Analytics.

Activity log

Enable or disable the activity log to choose whether you receive activity log data in analytics. To learn more, visit Activity log.

Was this article helpful?
362 out of 458 found this helpful