How to Add and Customize a Cookie Consent Banner in Squarespace

How to Add and Customize a Cookie Consent Banner in Squarespace

By Michael Chen

December 20, 2024 at 09:45 AM

A cookie banner informs visitors about the cookies on your website and lets them manage their consent preferences. Here's how to set up and customize an effective cookie banner:

Why Use Cookie Banner

  • Informs visitors about data collection through cookies
  • Complies with legal requirements for cookie consent
  • Allows visitors to manage cookie preferences
  • Helps maintain site functionality while respecting privacy choices

Adding a Cookie Banner

  1. Open Cookies and Data Privacy panel
  2. Activate Cookie Banner option
  3. Configure banner options:
    • Enable/disable "Reject all" button
    • Enable/disable "Manage cookies" button
  4. Customize button text and disclaimer message
  5. Select layout (Footer, Pill, or Hidden)
  6. Choose whether to include analytics data
  7. Save changes

Customizing Banner Appearance

Banner Style:

  • Adjust colors and themes
  • Set banner position
  • Modify text size
  • Change button appearance (font, shape, borders)

Button Customization:

  • Customize primary, secondary, and tertiary buttons
  • Match color scheme with site design
  • Adjust padding and borders
  • Modify button text

Managing Cookie Restrictions

To restrict non-essential cookies until consent:

  1. Access Cookies and Visitor Data panel
  2. Enable Cookie Banner
  3. Review non-essential cookie settings
  4. Save preferences

Adding Privacy Policy

  1. Create a Layout page for privacy/cookie policy
  2. Name it appropriately
  3. Add policy content
  4. Link to policy from cookie banner
  5. Save changes

Important Notes:

  • Banner only displays to logged-out visitors
  • Preview in incognito mode
  • Legal requirements vary by location
  • Sample text should be reviewed for compliance
  • Activity log settings affect Analytics data collection

Remember to regularly review and update your cookie settings to maintain compliance with privacy regulations and provide transparency to your visitors.

Related Articles

Previous Articles