GDPRChecker

Home / Knowledge Base / Hotjar Squarespace Cookie Consent: Setup, Blocking, and Testing Guide

Website Compliance

Hotjar Squarespace Cookie Consent: Setup, Blocking, and Testing Guide

A practical guide for implementing Hotjar cookie consent on Squarespace websites to comply with GDPR. Covers requirements, step-by-step setup with a CMP, common mistakes, and validation using GDPRChecker's scanner. Includes a checklist and FAQs to ensure proper blocking and testing.

Run a free GDPR compliance scanPreview the findings before choosing a CMP.

Author

GDPRChecker Editorial Team

Reviewed by

Privacy & Compliance Research Team

Last updated

July 2026

Reading time

8 min read

Educational guidance for compliance readiness — not legal advice. Requirements vary by jurisdiction and your specific processing activities.

Introduction

Updated for 2026 compliance practices.

Hotjar Squarespace cookie consent is a practical compliance topic for website owners validating consent, tags, and disclosures. If you use Hotjar on a Squarespace site, you need to ensure that tracking scripts and cookies are only activated after obtaining valid consent from visitors, especially those in the EU. This guide walks you through the requirements, implementation steps, common mistakes, and how to verify your setup using GDPRChecker’s scanner.

Requirements and Compliance Expectations

Under the GDPR and ePrivacy Directive, you must: - Inform users about the cookies and trackers you use, including Hotjar, in a clear and accessible cookie policy. - Obtain prior consent for non-essential cookies and tracking technologies. - Provide a mechanism for users to withdraw consent easily. - Block all non-essential scripts and cookies until consent is given. - Document and be able to demonstrate compliance.

For Hotjar on Squarespace, this means you cannot simply rely on Squarespace’s default cookie banner. The default banner only notifies users and provides a link to your privacy policy; it does not actively block scripts. You need to either use a third-party consent management platform (CMP) that integrates with Squarespace or manually implement conditional loading of the Hotjar script based on consent.

Additionally, if you use Google Analytics or Google Ads alongside Hotjar, you should consider implementing Google Consent Mode v2, which adjusts Google tags’ behavior based on consent state. See Google's consent mode setup guide. This is not a replacement for proper script blocking but can help manage Google-specific tags. For more on this, see our guide on Google Consent Mode v2.

Common Mistakes and How to Avoid Them

Even with a CMP, mistakes can happen. Here are the most frequent issues and how to prevent them:

  1. Loading Hotjar before consent: This is the most critical error. If your Hotjar script is placed directly in the header without conditional logic, it will fire immediately. Always use a CMP or custom code to delay loading.
  2. Not blocking all Hotjar cookies: Some implementations only block the main tracking script but allow other Hotjar resources (like feedback widgets) to load. Ensure all Hotjar-related domains and cookies are covered.
  3. Ignoring the reject flow: Many site owners only test the accept path. If a user rejects, Hotjar must not load, and no data should be sent. Test this thoroughly.
  4. Incomplete cookie disclosure: Your cookie policy must accurately reflect the cookies in use. After implementing consent, rescan your site to update the policy.
  5. Assuming Squarespace’s banner is enough: The built-in banner is informational only. It does not block scripts. You must add a blocking mechanism.
  6. Not considering other tools: If you use other third-party tools (e.g., Google Analytics, Facebook Pixel), they also need to be blocked before consent. A comprehensive CMP can manage all of them.

Implementation Checklist

Use this checklist to ensure you’ve covered all steps for Hotjar cookie consent on Squarespace:

  1. Identify all Hotjar cookies and trackers used on your site.
  2. Choose a CMP that supports prior blocking and integrates with Squarespace.
  3. Install the CMP code in Squarespace’s Code Injection header.
  4. Configure the CMP to categorize Hotjar as non-essential (e.g., analytics).
  5. Implement conditional loading of the Hotjar script based on consent.
  6. If using GTM, set up consent-based triggers for Hotjar tags.
  7. Update your cookie policy to include all Hotjar cookies with accurate descriptions.
  8. Test the accept flow: verify Hotjar loads after consent.
  9. Test the reject flow: verify Hotjar does not load and no cookies are set.
  10. Run a GDPRChecker pre-consent scan to confirm no unauthorized requests.
  11. Check for any other third-party scripts that may need consent.
  12. Document your compliance setup and keep records of consent.

FAQ

What is Hotjar Squarespace cookie consent?

Hotjar Squarespace cookie consent refers to the process of obtaining user permission before loading Hotjar tracking scripts and cookies on a Squarespace website. It ensures compliance with GDPR and ePrivacy regulations by blocking non-essential analytics until the visitor explicitly agrees.

Do I need Hotjar Squarespace cookie consent for GDPR?

Yes, if you have visitors from the EU. Hotjar sets cookies that are not strictly necessary, so you must obtain prior consent. Simply having a cookie banner without blocking scripts is insufficient; you must actively prevent Hotjar from loading until consent is given.

How do I implement Hotjar Squarespace cookie consent?

Implement by adding a consent management platform (CMP) to your Squarespace site via Code Injection, then configure it to block Hotjar until the user consents to analytics cookies. You can use CMP callbacks or a tag manager to conditionally load the Hotjar script.

How can I verify Hotjar Squarespace cookie consent with a scanner?

Use GDPRChecker to scan your site in a pre-consent state. It will detect any network requests to Hotjar domains before consent. You can also test the full consent flow to ensure scripts are correctly blocked or allowed based on user choices.

What are common Hotjar Squarespace cookie consent mistakes?

Common mistakes include loading Hotjar before consent, not blocking all Hotjar-related cookies, ignoring the reject flow, incomplete cookie disclosures, and relying solely on Squarespace’s default banner without a blocking mechanism.

Next Steps for Full Compliance

Implementing Hotjar cookie consent on Squarespace is just one part of your overall compliance strategy. You should also review other tools like Google Analytics and ensure they are properly consented. Our guide on Google Analytics GDPR Compliance provides detailed steps for that.

If you use Google Ads, understanding the difference between Consent Mode v2 and a Google-certified CMP is crucial. Read our comparison: Consent Mode v2 vs Google Certified CMP. And if you’re unsure whether you need a CMP at all, check out Do I Need a CMP if I Do Not Run Google Ads?.

Finally, your cookie banner itself must meet certain design and functionality requirements. See our Cookie Banner Requirements guide for best practices.

Remember, guides provide technical implementation guidance, not legal advice. For specific legal questions, consult a qualified privacy professional. Once you’ve set up consent for Hotjar, run a GDPRChecker scan to validate your implementation and close any compliance gaps.

GDPRChecker guides are educational resources and do not constitute legal advice. Use them to understand technical and operational privacy requirements, and consult qualified counsel for legal interpretation.

Check Your Website in Under 60 Seconds

  • Sign in required
  • GDPR-focused checks
  • Cookie banner detection
  • Privacy policy verification