GDPRChecker

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

Website Compliance

HubSpot Tracking Squarespace Cookie Consent: Setup, Blocking, and Testing Guide

A practical guide for website owners on implementing HubSpot tracking on Squarespace in a GDPR-compliant manner. Covers step-by-step setup, common mistakes, validation with GDPRChecker, and a detailed checklist.

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

9 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.

For website owners using Squarespace alongside HubSpot’s marketing tools, understanding HubSpot Tracking Squarespace cookie consent is essential for GDPR compliance. This guide provides a practical walkthrough for implementing consent-aware tracking, blocking cookies before consent, and verifying your setup. We focus on technical implementation steps, common pitfalls, and validation methods, without offering legal advice. Whether you’re integrating HubSpot forms, live chat, or the tracking code, this article helps you close consent gaps and maintain trust with your visitors.

Requirements and Compliance Expectations

GDPR requires that non-essential cookies and trackers are not deployed until the user has given unambiguous consent. See EDPB Guidelines 05/2020 on consent. For HubSpot tracking on Squarespace, this translates into several technical and procedural expectations:

  • Prior consent: HubSpot’s analytics and marketing cookies must be blocked by default. The tracking script should not execute unless the user has opted in via the cookie banner.
  • Granular choice: Users should be able to accept or reject specific categories (e.g., analytics, marketing) separately. If you use HubSpot for both analytics and chat, you may need to map these to different consent purposes.
  • Documentation: Your privacy policy must disclose the use of HubSpot, list all cookies set, their purposes, and their durations. This aligns with the “Close the Privacy Policy gap” topic.
  • Easy withdrawal: Visitors must be able to change their consent preferences at any time. Your CMP should provide a mechanism to revoke consent, which then disables HubSpot tracking.
  • Data processing agreement: As a data controller, you need a DPA with HubSpot if you process personal data of EU residents.

Note that these requirements are based on general GDPR principles as outlined by authorities like the European Data Protection Board (EDPB) and GDPR.eu. The specific implementation may vary depending on your jurisdiction and the nature of your data processing. Always consult with a legal professional for advice tailored to your situation.

Common Mistakes and How to Avoid Them

Even with careful setup, several mistakes can undermine your HubSpot Tracking Squarespace cookie consent implementation. Here are the most frequent issues and how to address them:

1. Failing to Block HubSpot Before Consent

The most critical mistake is allowing HubSpot’s tracking script to load unconditionally. On Squarespace, if you simply paste the HubSpot code into the header or footer code injection without any consent wrapper, it will fire on every page load. This results in cookies being set and data being sent to HubSpot before the user has a chance to consent. To avoid this, always use a CMP that can block the script or implement a custom consent check as described above.

2. Misclassifying Cookies

If you categorize HubSpot’s analytics cookies as “essential” or “functional,” they may be allowed by default, which violates GDPR unless you can demonstrate that they are strictly necessary. For most websites, analytics and marketing cookies are not essential. Review each cookie’s purpose and classify accordingly. When in doubt, err on the side of requiring consent.

3. Ignoring the “Reject” Flow

Many implementations only test the “accept” scenario. However, GDPR requires that rejecting cookies is as easy as accepting them. Ensure that when a user clicks “reject” or closes the banner without accepting, no HubSpot cookies are set. Test this flow thoroughly, including navigating to different pages after rejection.

4. Not Updating the Privacy Policy

Your privacy policy must accurately reflect the cookies and trackers you use. If you add HubSpot tracking, update your policy to list each cookie, its purpose, duration, and how users can control it. This closes the “Close the Privacy Policy gap.” Use GDPRChecker to scan for disclosure gaps after making changes.

5. Overlooking Consent Mode Integration

If you use Google services alongside HubSpot, consider implementing Google Consent Mode v2 to adjust Google tags based on consent state. While HubSpot is not directly covered by Consent Mode, the principles of respecting consent signals apply. For more on this, see our google-consent-mode-v2-guide.

6. Assuming Squarespace’s Built-in Banner Suffices

Squarespace’s default cookie banner notifies users but does not actively block third-party cookies. Relying solely on it for HubSpot tracking will likely leave you non-compliant. Always pair it with a CMP or custom blocking logic.

How to Validate with GDPRChecker

After implementing HubSpot Tracking Squarespace cookie consent, validation is crucial. GDPRChecker provides a scanner that helps you verify your setup without manual inspection. Here’s how to use it effectively:

  • Pre-consent scan: Run a scan on your Squarespace site before accepting cookies. GDPRChecker will list all network requests and cookies detected. Confirm that no HubSpot-related domains or cookies appear.
  • Post-consent scan: Accept cookies and run another scan. Now, HubSpot cookies and requests should be present. This confirms that your blocking mechanism works correctly.
  • Banner behavior check: GDPRChecker can analyze whether your cookie banner appears correctly, if it blocks scripts before interaction, and if the reject option functions as expected.
  • Disclosure gaps: The scanner checks your privacy policy for mentions of detected cookies. If HubSpot cookies are found but not disclosed, you’ll receive an alert, helping you close the “Close the Privacy Policy gap.”
  • Continuous monitoring: After any site changes—such as adding new HubSpot features or updating Squarespace templates—rescan to ensure compliance isn’t broken.

GDPRChecker scans help verify pre-consent network requests, banner behavior, and disclosure gaps after changes. This aligns with the “Close the Consent Mode gap” and “Close the Cookie Banner gap” topics. For a deeper dive into consent mode validation, see our google-consent-mode-v2-checker.

Implementation Checklist

Use this checklist to ensure your HubSpot Tracking Squarespace cookie consent setup is complete:

  1. Identify all HubSpot cookies and their purposes (analytics, marketing, functional).
  2. Install a consent management platform (CMP) that supports script blocking.
  3. Configure the CMP to categorize HubSpot cookies as opt-in (blocked by default).
  4. Modify the HubSpot tracking code to fire only after consent is granted (using CMP callbacks or GTM triggers).
  5. Implement a similar consent mechanism for HubSpot forms and live chat.
  6. Update your privacy policy to disclose HubSpot cookies, purposes, and durations.
  7. Test in an incognito browser: no HubSpot cookies or network requests before consent.
  8. Test the accept flow: HubSpot cookies and requests appear after consent.
  9. Test the reject flow: no HubSpot activity after rejection or banner dismissal.
  10. Verify that consent preferences can be changed (e.g., via a floating privacy icon).
  11. Run a GDPRChecker scan pre- and post-consent to validate blocking and disclosures.
  12. Document your implementation and schedule periodic rescans after site updates.

FAQ

What is HubSpot Tracking Squarespace cookie consent?

It refers to the practice of ensuring that HubSpot’s tracking scripts on a Squarespace site only set cookies and collect data after the visitor has given explicit consent, in compliance with GDPR requirements for non-essential cookies.

Do I need HubSpot Tracking Squarespace cookie consent for GDPR?

Yes, if you use HubSpot’s analytics, marketing, or chat features on a Squarespace site and have visitors from the EU, you must obtain prior consent before setting non-essential HubSpot cookies.

How do I implement HubSpot Tracking Squarespace cookie consent?

Install a CMP that blocks scripts by default, categorize HubSpot cookies as opt-in, wrap the tracking code to fire only after consent, and test thoroughly using browser tools and a scanner like GDPRChecker.

How can I verify HubSpot Tracking Squarespace cookie consent with a scanner?

Use GDPRChecker to scan your site before and after consent. It detects pre-consent network requests, cookie presence, banner behavior, and privacy policy disclosures, helping you confirm that HubSpot is properly blocked until consent.

What are common HubSpot Tracking Squarespace cookie consent mistakes?

Common mistakes include loading HubSpot unconditionally, misclassifying cookies as essential, neglecting the reject flow, not updating the privacy policy, and relying solely on Squarespace’s built-in banner without script blocking.

Conclusion

Achieving HubSpot Tracking Squarespace cookie consent is a multi-step process that requires careful configuration of your CMP, HubSpot tracking code, and privacy disclosures. By blocking cookies before consent, respecting user choices, and validating with tools like GDPRChecker, you can close critical compliance gaps and build trust with your audience. Remember that this guide provides technical implementation steps, not legal advice. For a complete compliance check, run a GDPRChecker scan today and ensure your Squarespace site meets GDPR standards.

For more related guidance, explore our articles on cookie-banner-requirements and consent-mode-v2-vs-google-certified-cmp.

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