Is Microsoft Clarity GDPR compliant?
Microsoft Clarity typically loads analytics trackers, which are not strictly necessary for your site to work. Under the GDPR and the ePrivacy Directive, non-essential cookies and trackers must stay blocked until a visitor gives clear opt-in consent. So Microsoft Clarity can be fully GDPR compliant, but only if your site holds its scripts until consent is granted and lets visitors decline just as easily. Compliance depends on how your site loads Microsoft Clarity, not on Microsoft Clarity itself.
- Consent required
- Yes, block it until the visitor opts in
- Consent category
- analytics
- Tracker domains
- 2 catalogued, including clarity.ms and www.clarity.ms
Overview
Microsoft Clarity is a free behavioral analytics tool that provides session recordings, heatmaps, and scroll maps. It helps website owners understand how users interact with their pages by visually replaying user sessions.
What This Script Does
The Clarity script captures every user interaction on the page: mouse movements, clicks, scroll positions, rage clicks, dead clicks, and form interactions. It records DOM state changes to reconstruct sessions as video-like replays in the Clarity dashboard. The script sets cookies (_clck, _clsk) and uses sessionStorage to identify visitors and group page views into sessions. All captured data is transmitted to Microsoft's servers. Clarity masks sensitive input fields by default, but what it sends, including IP addresses and interaction patterns, can still be personal data under the GDPR.
Consent & Compliance
Microsoft Clarity falls under the analytics consent category. Session replay captures detailed behavioral data that constitutes personal data under GDPR (IP addresses logged, precise interaction patterns recorded). Under GDPR/ePrivacy, Clarity requires explicit opt-in consent because it sets non-essential cookies and processes behavioral data beyond what is strictly necessary for the website to function. While Clarity is free, Microsoft may use aggregated data to improve its products, adding a secondary processing purpose.
Since 31 October 2025 Microsoft enforces consent itself for visitors in the EEA, the UK and Switzerland: Clarity sets no cookies there unless the site passes a consent signal through its Consent API (consentv2), and features such as session recordings may be limited without one. ConsentStack sends that signal for you, granted or denied, whenever a visitor makes or changes a choice.
Should You Block This Without Consent?
Yes. Session replay tools capture extensive behavioral data and set non-essential cookies. Block until the user consents to analytics.
Consent Categories
Also Known As
Tracked Domains (2)
clarity.msAnalyticsclarity.ms is an analytics domain operated by Microsoft Clarity, used to measure visits, sessions, and on-site behavior.
www.clarity.msAnalyticswww.clarity.ms is an analytics domain operated by Microsoft Clarity, used to measure visits, sessions, and on-site behavior.
Frequently Asked Questions
Other Microsoft Products
Related Vendors
Manage consent for Microsoft Clarity
ConsentStack automatically detects and manages Microsoft Clarity trackers so your site stays compliant with global privacy regulations.
