GDPRChecker

Home / Knowledge Base / Microsoft Clarity Cookie Consent on Squarespace: Setup, Blocking, and Testing Guide

Website Compliance

Microsoft Clarity Cookie Consent on Squarespace: Setup, Blocking, and Testing Guide

A practical guide to implementing Microsoft Clarity cookie consent on Squarespace for GDPR compliance. Covers requirements, step-by-step setup with a CMP or GTM, common mistakes, and validation using GDPRChecker's scanner. Includes a checklist and FAQ 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

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

Understanding Microsoft Clarity Squarespace cookie consent is essential for website owners who want to combine user behavior analytics with GDPR compliance. Microsoft Clarity is a free heatmap and session recording tool that provides valuable insights into how visitors interact with your site. However, like any analytics tool that uses cookies or similar technologies, it falls under the scope of privacy regulations such as the GDPR and ePrivacy Directive. This guide focuses on the practical steps to implement, block, and verify cookie consent for Microsoft Clarity on a Squarespace website, ensuring you respect user choices while still gathering useful data.

This is a technical implementation guide, not legal advice. For legal questions, consult a qualified privacy professional. We’ll walk through what Microsoft Clarity Squarespace cookie consent means, the compliance expectations, a detailed implementation process, common pitfalls, and how to validate your setup using GDPRChecker’s scanning tools.

Requirements and Compliance Expectations

Before diving into the technical setup, it’s important to understand the compliance expectations for Microsoft Clarity on Squarespace. The GDPR requires that consent be freely given, specific, informed, and unambiguous. See EDPB Guidelines 05/2020 on consent. This means your cookie banner must clearly explain what Clarity does and what data it collects, and users must take a clear affirmative action to accept. Pre-ticked boxes or implied consent are not valid.

Additionally, you must provide a way for users to withdraw consent as easily as they gave it. This often means including a persistent cookie settings link or a floating button that allows users to change their preferences at any time. Your privacy policy should also disclose the use of Microsoft Clarity, the types of data collected, the purpose of processing, and the legal basis (consent).

From a technical standpoint, the key requirement is that the Clarity script is blocked by default until consent is obtained. This means no network requests to *.clarity.ms should fire before the user interacts with the consent banner. After consent is given, the script can be loaded, and cookies can be set. If the user rejects or withdraws consent, the script must be prevented from loading, and any existing Clarity cookies should be cleared if possible.

It’s also worth noting that Microsoft Clarity is not a Google product, so Google Consent Mode does not directly control it. However, if you use Google Tag Manager (GTM) to deploy Clarity, you can leverage consent signals to control when the tag fires. We’ll explore this in the implementation section.

Common Mistakes and How to Avoid Them

Even with careful planning, several common mistakes can undermine your Microsoft Clarity Squarespace cookie consent implementation. Here are the most frequent ones and how to avoid them.

1. Failing to Block Clarity Before Consent

The most critical mistake is allowing the Clarity script to load before the user has given consent. This often happens when the script is hardcoded into the site header without any blocking mechanism. Even if you have a cookie banner, if the script fires on page load, it’s already set cookies and sent data. To avoid this, always use a CMP or GTM with proper consent triggers to block the script by default.

2. Assuming Implied Consent is Sufficient

Some website owners mistakenly believe that continuing to browse implies consent. Under GDPR, this is not valid. You must obtain explicit, affirmative consent. Ensure your cookie banner does not use pre-ticked boxes and that the “Accept” button is prominent, with a clear “Reject” option.

3. Not Testing the Reject Flow

Many implementations focus on the accept flow but neglect the reject flow. When a user clicks “Reject” or closes the banner without accepting, the Clarity script must remain blocked. Test this thoroughly: open your site in an incognito window, reject cookies, and check that no Clarity network requests are made.

4. Overlooking Cookie Expiry and Renewal

Consent is not indefinite. You should re-prompt users for consent periodically, especially if cookies have a long lifespan. Clarity cookies can persist for up to a year. Your CMP should handle consent renewal, but you must configure it appropriately.

5. Incomplete Privacy Policy Disclosures

A vague privacy policy that doesn’t specifically mention Clarity can lead to non-compliance. Be transparent about the tool, the data it collects, and how it’s used. Also, ensure your policy is easily accessible.

6. Ignoring Cross-Border Data Transfers

Microsoft Clarity processes data on servers that may be located outside the EU. If you target EU users, you must address international data transfers in your privacy policy and ensure appropriate safeguards, such as Standard Contractual Clauses (SCCs). Microsoft provides information on its data processing terms; review these and incorporate them into your compliance documentation.

Implementation Checklist

Use this checklist to ensure you’ve covered all aspects of Microsoft Clarity Squarespace cookie consent:

  1. Choose a CMP that supports script blocking and integrates with Squarespace.
  2. Install the CMP script in Squarespace’s Code Injection header.
  3. Configure the CMP to block Microsoft Clarity cookies (_clck, _clsk, CLID) and the Clarity script URL.
  4. If using GTM, set up the Clarity tag with a consent-based trigger (e.g., custom event for analytics consent).
  5. Ensure the Clarity tag does not fire on page load without consent; use default consent states if available.
  6. Implement a mechanism to clear Clarity cookies on consent withdrawal.
  7. Update your privacy policy to disclose Microsoft Clarity usage, data collected, purpose, and legal basis.
  8. Add a persistent consent management link or button to allow users to change preferences.
  9. Test the accept flow: verify Clarity loads and cookies are set after consent.
  10. Test the reject flow: verify no Clarity requests or cookies are present after rejection.
  11. Run a GDPRChecker scan to validate pre-consent blocking, banner behavior, and disclosures.
  12. Schedule regular scans and re-prompt users for consent periodically.

FAQ

What is Microsoft Clarity Squarespace cookie consent?

Microsoft Clarity Squarespace cookie consent refers to the practice of obtaining user permission before loading the Microsoft Clarity analytics script and setting its tracking cookies on a Squarespace website. It ensures compliance with GDPR and ePrivacy Directive by blocking the script until explicit consent is given, and respecting user choices to reject or withdraw consent.

Do I need Microsoft Clarity Squarespace cookie consent for GDPR?

Yes, if your Squarespace site targets users in the EU/EEA and uses Microsoft Clarity, you need cookie consent. Clarity cookies are not strictly necessary, so they require prior informed consent under the GDPR and ePrivacy Directive. Without consent, you must block the script and cookies entirely.

How do I implement Microsoft Clarity Squarespace cookie consent?

Implement consent by integrating a CMP with Squarespace, configuring it to block the Clarity script and cookies by default, and only loading them after the user gives explicit consent. You can use direct script blocking or Google Tag Manager with consent triggers. Also update your privacy policy to disclose Clarity usage.

How can I verify Microsoft Clarity Squarespace cookie consent with a scanner?

Use GDPRChecker to scan your site in different consent states. Run a pre-consent scan to ensure no Clarity requests or cookies are present. Then test accept and reject flows to confirm correct behavior. The scanner also checks banner disclosures and policy completeness, helping you identify and fix gaps.

What are common Microsoft Clarity Squarespace cookie consent mistakes?

Common mistakes include failing to block Clarity before consent, relying on implied consent, not testing the reject flow, overlooking cookie expiry and consent renewal, incomplete privacy policy disclosures, and ignoring cross-border data transfer requirements. Regular scanning with GDPRChecker can help avoid these pitfalls.

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