Microsoft Clarity vs. Hotjar: Heatmaps, Replays, Consent
Microsoft Clarity and Hotjar do the same basic job: they show click and scroll heatmaps and session recordings, meaning a replay of what a user did on the page. In 2026 they differ mainly in the state of the product and in their approach to consent. Hotjar is now part of Contentsquare, and according to the company you can no longer create a new Hotjar account. Clarity is free according to Microsoft, and since October 31, 2025, it has required a consent signal for visits from the EU, the UK and Switzerland. For a site with European visitors, what the tool does before consent and after it's withdrawn matters more than the feature list.
Heatmaps and Session Recordings: What They Show
A heatmap is a visualization of aggregated data about how users interact with a page. Clarity's heatmap documentation lists several types: click, scroll, area, conversion and attention maps. A scroll map shows how far down the page people get, and a click map shows whether calls to action draw any attention at all. Microsoft notes that there's no minimum traffic threshold for generating a heatmap.
A session recording shows a single visit rather than many. According to Clarity's recordings overview, it isn't a screen video but a step-by-step reconstruction built from the HTML and the user's actions: scrolls, clicks, page visits. A session ends after 30 minutes of inactivity. Recordings help you find bugs and places where people get lost, but you watch them one at a time, so they work best alongside heatmaps and the numbers in Google Analytics 4.
Microsoft Clarity According to Microsoft's Documentation
Clarity is Microsoft's tool for heatmaps and session recordings. In the Clarity FAQ, Microsoft says the service is free, with no traffic limits and no push to upgrade to a paid version. Data is stored in the Microsoft Azure cloud, Clarity operates as a data controller according to the same page, and it doesn't sell data.
The recordings overview gives the retention period: recordings are available for 30 days, after which Clarity keeps a small share of them for up to 9 months. Recordings marked as favorites are kept for up to 9 months. For a business, that means analysis has to happen as you go, not by returning to recordings from half a year ago.
Clarity integrates with Google Analytics. According to the FAQ, once connected, Google Analytics segments show up in the Recordings tab, which lets you, for example, watch visits from a chosen traffic source.
Hotjar in 2026: Now Part of Contentsquare
For years Hotjar was the best-known heatmap tool. On the official Hotjar page at Contentsquare, the company says Hotjar is now part of Contentsquare and the two platforms have merged into one. The same page says you can no longer create a new Hotjar account and new users sign up for Contentsquare. Former Hotjar product page URLs now redirect to Contentsquare.
According to the company, what people knew from Hotjar, heatmaps, recordings and surveys, is available in Contentsquare alongside funnels, error and performance monitoring and AI-generated summaries. In practice, someone searching for "Hotjar" today is choosing between Clarity and Contentsquare, not between Clarity and a standalone Hotjar product.
The tag's technical documentation is now Contentsquare's documentation. That, rather than older Hotjar material, describes what the script collects and how it handles refusal.
Consent in the EU: Clarity's Consent Mode and Contentsquare's Opt-Out
In its description of Clarity's Consent Mode, Microsoft says that starting October 31, 2025, the tool requires a valid consent signal for visits from the European Economic Area, the United Kingdom and Switzerland. Consent Mode is enabled by default for those users. Consent is passed through a supported consent management platform or through your own banner and the consent API.
Clarity's Consent API v2 takes two signals, ad_Storage and analytics_Storage, named as in Google's consent mode. With consent, Clarity sets cookies and links page views into sessions. Without consent, it runs in a limited mode: no cookies, and a separate ID for each page view. When a user rejects cookies, Clarity deletes existing ones, ends the session and restarts in no-consent mode.
Note that no-consent mode still collects something. It resembles the advanced variant of Google's consent mode, in which tags load before the user decides, rather than the basic variant, in which they're blocked until the user interacts with the banner.
Contentsquare's documentation describes a different approach. Its guide to sending users' data collection decisions documents an opt-out command that sets a cookie recording the refusal and removes the other Contentsquare cookies on that domain. When the script itself loads, before consent or after it, depends on how each site implements either tool. The legal framework for consent to storing information in the browser is covered in our GDPR entry.
Masking Data in Recordings
Session recordings reconstruct the page with its content, so what reaches the vendor matters. According to Clarity's masking documentation, content in input boxes and drop-down menus is masked in every mode and can't be customized, and masked content isn't sent. There are three modes: Strict (masks all content), Balanced (the default, masks numbers and email addresses) and Relaxed. Microsoft warns that Clarity doesn't mask content within style sheets.
In its personal data handling guide, Contentsquare says the tag automatically detects and replaces data such as email addresses and credit card numbers before anything leaves the browser. The same page lists data sent without automatic masking, such as event names and, on projects that collect Product Analytics data, the page title, and reminds site owners that they're responsible for that content.
The takeaway is the same for both tools: before rollout, review what data the site displays, especially in customer accounts, carts and order confirmations, and match the masking settings to that list.
Clarity or Contentsquare: Selection Criteria
Instead of a ranking, it's better to ask a few questions whose answers depend on your business.
What you need. If the goal is heatmaps and recordings to improve a few key pages, Clarity covers that scope. If you also need surveys, funnels and journey analysis on one platform, Contentsquare is worth evaluating.
How you'll handle consent. Check whether your consent management platform passes the signal to the tool you pick, and if not, whether you can do it with your own code. Also decide whether the script should start only after consent or run in a limited mode before it.
What's on the site. Forms, customer data and order numbers call for a review of masking settings before the first recording, not after it.
What goes in your privacy policy. The vendor's role (Microsoft describes Clarity as a data controller), the list of cookies and where data is stored need to be in the policy before the tool goes live.
How We Implemented Clarity on This Site
The script loads only after analytics consent. On arduralab.com, the Clarity script isn't loaded at all until the user gives analytics consent. That's stricter than the no-consent mode Microsoft describes, in which the tool collects data even before the user decides. Without analytics consent, a visit produces neither a recording nor a heatmap entry.
The decision goes through the consent API. After consent, the site passes the user's decision to Clarity: analytics consent controls the analytics_Storage signal, and marketing consent controls ad_Storage. Withdrawing consent sends a denial signal followed by the documented call that erases the cookies.
Loading without slowing the page. The script loads only after the page has loaded, while the browser is idle, and the Content Security Policy header admits only the domains the tool needs. A test in the repository makes sure the script URL can't be produced without consent.
Disclosure in the privacy policy. The privacy policy describes the tool, its cookies and Microsoft's role as set out in the vendor's documentation. In audits we regularly see the opposite: heatmap scripts loading before the consent banner and missing from the privacy policy.
Summary
Microsoft Clarity and Hotjar, which is now part of Contentsquare, both show heatmaps and session recordings. Clarity is free according to Microsoft and, since October 31, 2025, has required a consent signal for visits from the EU, the UK and Switzerland, running in a limited mode without it. Contentsquare offers a broader platform and documents an opt-out command. The choice comes down to your needs, how consent is handled and how data is masked, and in both cases the safest setup starts the script only after analytics consent.
We set up user behavior tracking with properly implemented consent as part of our web development service. If you want to get your site's analytics in order, get a quote.