Short answer: Microsoft Clarity is a free tool that shows session recordings and heatmaps of your website. Sign up at clarity.microsoft.com, add a project, paste the tracking code in the <head> (or install it with Google Tag Manager or a plugin), and data appears within a few hours. If you have visitors from the EU, UK or Switzerland, pass their cookie consent to Clarity, otherwise recordings break into one-page sessions.
What is Microsoft Clarity?
Clarity is a behaviour analytics tool. GA4 tells you that 1,000 people visited the pricing page and 12 sent the form. Clarity shows you what the other 988 did there: whether they scrolled to the price, clicked a picture that is not a link, or tapped the same button five times because nothing happened.
Microsoft says the service is free "forever", has no traffic limits and does not sample, so every session is recorded. Recordings stay available for 30 days. The tracking script loads asynchronously, so it should not slow the page down. Clarity must not be used on sites aimed at people under 18.
You need both. Use GA4 for counting and attribution, and Clarity for finding out why a page does not convert.
How do you set up Microsoft Clarity?
- Go to clarity.microsoft.com and sign up with a Microsoft, Google or Facebook account.
- Create a project: name, website URL and category. Use one project per domain. Subdomains can share a project if the same code is on each of them.
- Install the code. The setup screen offers three routes: copy the script into the
<head>of every page, install it through Google Tag Manager, or use a platform integration such as the official WordPress plugin or the Shopify app. - Wait a few hours. Live users show up almost at once; dashboard numbers take longer.
If you use Google Tag Manager, add Clarity as a tag that fires on all pages, like any other analytics tag. Then check it with GTM Preview or Tag Assistant: you should see requests to clarity.ms. Our website tracking checker also shows whether Clarity loads on a page.
What the Clarity dashboard shows
The screenshots come from Clarity's public demo project, which tracks Microsoft's own Clarity website, so the numbers are real but not ours.

Four numbers are worth reading every week:
- Dead clicks: clicks on something that looks clickable but is not. On the demo site 10.2% of sessions have them. On a small business site this is often a photo, an icon or a price box that people expect to open.
- Rage clicks: several fast clicks in the same spot. Usually a broken button, a slow form or a menu that does not open on a phone.
- Quick backs: someone opens a page and returns almost at once. The link promised something the page did not give.
- Scroll depth: how far down people get on average. Compare it with where your price or form sits.
Clarity counts a unique user per browser and device through a first-party cookie, so one person on a phone and a laptop counts as two. That is one reason Clarity and GA4 user numbers never match.
How to read Clarity heatmaps
Open Heatmaps, pick a popular page or type a URL, and choose the device. The Click view ranks the elements by clicks (1) and paints them on the page (2).

The Scroll view is the one we open first on landing pages. It shows what share of visitors reached each part of the page (1) and draws lines for 75%, 50% and 25% (2).

A practical rule: if fewer than half the visitors reach your form or price, move it up or add a button to it near the top. On phones the drop is usually steeper, so check the mobile view separately.
How to use session recordings
Watching random recordings wastes time. Filter first: one page, mobile only, and sessions with rage clicks or quick backs. Each card shows the entry page, duration, clicks and device (1); the player has a timeline with markers for clicks and page changes (2).

By default Clarity masks text that may be sensitive: all input fields, numbers and email addresses. Masked content is not uploaded at all. If you show personal data on pages (an account area, an order summary), keep the strict masking mode or add data-clarity-mask="true" to those elements.
How to connect Clarity to GA4
In the Clarity project open Settings → Setup and use the Google Analytics integration. Clarity creates a session-scoped custom dimension called Clarity Playback URL in your GA4 property. You can then open the recording of a GA4 session straight from a GA4 exploration. If GA4 refuses because the property already has too many custom dimensions, create that dimension yourself with the same name and scope.
Clarity and cookie consent in the EU
This changed in 2025 and many sites still have the old setup. Since October 31, 2025 Clarity enforces a consent signal for visits from the European Economic Area, the UK and Switzerland. Without it, Clarity works in a no-cookie mode: every page view becomes its own session, so recordings and funnels stop showing whole visits.
You have two ways to send the signal:
- A consent platform that integrates with Clarity. Microsoft names CookieYes as the supported one and says more are coming.
- The Consent API, called from your banner when the visitor decides:
window.clarity('consentv2', {
ad_Storage: "granted",
analytics_Storage: "granted"
});
To check it, open the browser console and run the function from Microsoft's documentation:
clarity('metadata', (d, upgrade, consent) => {
console.log('consentStatus:', consent);
}, false, true, true);
Before the visitor accepts, it should print DENIED for both values and the cookies _clck and _clsk should not exist. After accepting, both should turn GRANTED. Microsoft's FAQ says support for Google Consent Mode is coming, so do not count on your GA4 consent setup covering Clarity yet.
What is Clarity AI Visibility?
A newer tab in the dashboard shows how often AI assistants cite your site: citations, your share of all citations and sessions that came from AI answers. Microsoft lists Copilot and partners as the data source. In the demo this section uses made-up data for a fictional shop, as the banner says, so treat the screenshot as a tour of the screen, not as a benchmark.

Clarity vs Hotjar
Both record sessions and draw heatmaps. Hotjar adds surveys and feedback widgets and its free plan limits how many sessions it captures, while Clarity records everything for free but has no surveys. For a small business site Clarity is enough. Pick Hotjar when you need on-page surveys and are ready to pay for volume.
Common problems
| Symptom | Likely cause | Fix |
|---|---|---|
| Every visit has only one page | No consent signal for EU, UK or Swiss visitors | Send consentv2 from the banner or use a supported consent platform |
| No data after a day | Code missing on the live site, or blocked until consent | Check the page source or the tracking checker; accept cookies and look for clarity.ms requests |
| Clarity and GA4 users differ a lot | Different counting: Clarity counts browsers and devices, GA4 shows active users | Compare trends, not totals |
| Data from another site in the project | The same project code copied to a second domain | Create one project per domain |
| Shopify data stopped | A theme change removed the script | Reinstall or update the Shopify app after theme changes |
Frequently asked questions
Is Microsoft Clarity really free?
Yes. Microsoft says Clarity is free forever, with no traffic limits and no paid tier to upgrade to. You can add unlimited projects and team members.
How long does Clarity keep recordings?
Recordings and session data are available for 30 days from the time they were recorded. Save the important ones as favourites or note what you found before they expire.
Does Microsoft Clarity slow down a website?
Microsoft says no: the script loads asynchronously and does not affect how quickly the page loads. Heatmaps use the same data, so they add no extra load.
Does Clarity need cookie consent?
Yes for visitors from the EEA, UK and Switzerland. Since October 31, 2025 Clarity needs a consent signal from these visitors, sent through the Consent API or a supported consent platform. Without it Clarity runs without cookies and every page view becomes a separate session.
Can I use Clarity together with GA4?
Yes. Install both, then connect them in Clarity under Settings, Setup. Clarity adds a Clarity Playback URL custom dimension to GA4 so you can open recordings of GA4 sessions.
Related guides
Google Tag Assistant: how to use it, step by step
How to connect Google Tag Assistant to your site, read the Summary, check one event and its consent state, and fix could-not-connect and no-access errors.
GA4 explainedEngagement rate and bounce rate in GA4, explained
How GA4 defines an engaged session, how engagement rate and bounce rate are calculated, how to add bounce rate to a report and what a good rate looks like.
Check your own setup in 20 seconds
Run any website through the free tracking checker: GA4, Google Tag Manager, Google Ads, Meta Pixel, cookie banner and what sits inside the GTM container.