Microsoft Clarity

Microsoft Clarity

Microsoft Clarity is a free behavioral analytics tool providing session recordings, heatmaps, and scroll maps. Scripts capture every user interaction including clicks, scrolls, and rage clicks, and replay sessions in the Clarity dashboard. No personally identifiable information is transmitted.

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 states it does not capture sensitive input field content by default and does not transmit PII.

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.

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.

Visit website

Consent Categories

Also Known As

Microsoft ClarityClaritysession recordingheatmap toolsession replay_clck cookie_clsk cookiebehavioral analytics

Tracked Domains (2)

clarity.msAnalytics

clarity.ms is an analytics domain operated by Microsoft Clarity, used to measure visits, sessions, and on-site behavior.

www.clarity.msAnalytics

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

Bing Ads
Bing Ads
Microsoft Advertising (Bing Ads) is the advertising platform for search campaigns on Bing, Yahoo, and partner networks. The Universal Event Tracking (UET) tag fires on advertiser sites to record conversions and build remarketing audiences. Data flows into the Microsoft Advertising dashboard for campaign reporting and bid optimization.
Microsoft Advertising UET Tag
Microsoft Advertising UET Tag
Microsoft Advertising UET Tag is the Universal Event Tracking pixel for Microsoft's ad platform, formerly Bing Ads. The JavaScript tag fires on advertiser websites to track page views, conversions, and custom events for campaign optimization. Sets cookies to identify visitors across sessions and attribute conversions to Microsoft Search and Audience Network ad clicks.
Bing Webmaster Tools
Bing Webmaster Tools
Sets a meta tag or BingSiteAuth.xml file to confirm site ownership with Microsoft Bing. The verification asset collects no personal data; Bing then provides search performance, crawl error, and keyword analytics accessible only through authenticated Webmaster Tools dashboard sessions.
LinkedIn
LinkedIn
LinkedIn Insight Tag is a conversion tracking and audience analytics tool for LinkedIn advertising. Scripts set a first-party cookie and send page view and conversion events to LinkedIn's servers. Data supports campaign attribution, demographic reporting on site visitors, and LinkedIn retargeting audience creation.
Microsoft Azure AD
Microsoft Azure AD
Microsoft Azure AD (now Microsoft Entra ID) is a cloud identity and access management service for single sign-on and user authentication on websites. Scripts load the Microsoft Authentication Library to handle OAuth flows, display login prompts, and manage access tokens. Stores authentication cookies and session tokens to maintain user login state across visits.
Microsoft Dynamics 365
Microsoft Dynamics 365
Microsoft Dynamics 365 is a suite of CRM and ERP applications that integrates with websites through tracking scripts and embedded forms. Web tracking code captures visitor behavior, page views, and form submissions to build customer profiles and score leads. Sets cookies to identify returning visitors and attribute marketing touchpoints across sessions.
Microsoft Power Apps
Microsoft Power Apps
Microsoft Power Apps is a low-code application development platform that enables embedded business applications on websites. Scripts load custom app interfaces from Microsoft's cloud, render form controls and data views, and connect to backend data sources through Power Platform connectors. Sets session cookies to maintain application state and user authentication.
Microsoft Power Automate
Microsoft Power Automate
Microsoft Power Automate is a workflow automation platform that connects to websites through embedded triggers and action widgets. Scripts load form interfaces, approval flows, and automated process components that interact with Microsoft's cloud services. Sets session cookies to authenticate users and maintain workflow state during multi-step automated processes.
Microsoft Teams
Microsoft Teams
Microsoft Teams is a workplace communication and collaboration platform that can be embedded on websites for chat, meetings, and document sharing. Embedded widgets load from Microsoft's servers to enable real-time messaging, video calls, and file collaboration. Sets authentication and session cookies to verify participant identity and maintain connection state.
Microsoft Viva
Microsoft Viva
Microsoft Viva is an employee experience platform that surfaces on websites through embedded engagement and learning modules. Scripts load content feeds and knowledge cards from Microsoft's cloud infrastructure. Sets authentication cookies for user identity and personalized workplace content delivery.
Power BI
Power BI
Power BI is Microsoft's business intelligence and data visualization platform. Its embedded scripts render interactive dashboards and reports within web pages, loading data visualizations through iframes or JavaScript APIs. Embedded reports may set authentication cookies and make requests to Microsoft's cloud services.
Xandr
Xandr
Xandr scripts serve programmatic display and video ads by placing cookies, collecting audience data, and participating in real-time bidding auctions. Scripts match visitors against audience segments and transmit behavioral data to Microsoft's advertising marketplace for targeting and measurement.

Related Vendors

Attribution
Attribution
Attribution is a multi-touch marketing attribution platform. Its scripts track visitor journeys across channels and touchpoints by setting persistent cookies, collecting page view and interaction data, and sending it to attribution models that assign conversion credit.
Google
Google
Google is the dominant provider of web analytics, advertising, and infrastructure tools. Scripts like Google Analytics, Tag Manager, Ads, and reCAPTCHA collect behavioral data, manage tag firing, serve targeted ads, and detect bots. Sets persistent cookies to track users and correlate activity across sites.
Freshpaint
Freshpaint
Freshpaint is a HIPAA-compliant customer data infrastructure for healthcare companies. Scripts capture user behavior events from web applications and route them to analytics, marketing, and CRM tools while enforcing patient data protection rules. Designed to let healthcare organizations use modern analytics without violating HIPAA.
Google Analytics
Google Analytics
Google Analytics is the world's most widely deployed web analytics platform. Scripts track page views, sessions, user demographics, traffic sources, and conversion events. Drops cookies to identify returning visitors and attribute user journeys across sessions.
GrowthBook
GrowthBook
GrowthBook is an open-source feature flagging and A/B testing platform. Its scripts assign website visitors to experiment variants using deterministic hashing, track conversion events, and report results. Scripts set cookies or use local storage to persist variant assignments across sessions for consistent experiences.
Microsoft
Microsoft
Runs Clarity (session recording and heatmaps), the Microsoft Advertising UET tag (conversion tracking), and Bing's remarketing pixel. Clarity injects a recording script that captures mouse movements, clicks, and rage clicks. The UET tag fires conversion events to tie ad clicks to on-site actions across Microsoft's ad network.

Manage consent for Microsoft Clarity

ConsentStack automatically detects and manages Microsoft Clarity trackers so your site stays compliant with global privacy regulations.