Skip to the content
Start free

Microsoft Clarity

Microsoft Clarity is Microsoft’s free behaviour analytics tool: it records sessions, draws heatmaps of clicks and scrolling, and shows dashboards of how people use a website or app. Microsoft says Clarity is “a free service forever”. For UK sites the key fact is consent: since 31 October 2025, Clarity needs a valid consent signal for visitors from the UK, the European Economic Area and Switzerland before its features work fully.

What does Clarity do? #

Ordinary analytics tells you how many people came. Clarity shows what they did on the page: where they clicked, how far they scrolled, where they got stuck. It is a tool for user experience work. Microsoft’s overview lists these main parts:

Part What it shows
Session recordings A replay of one visitor’s path through the site
Heatmaps Click, scroll, area and conversion maps for a page
Dashboard Trends, content, ecommerce behaviour and speed in one place
Funnels and smart events Where people leave a path, such as a checkout
Copilot AI summaries of recordings and heatmaps
AI Visibility Bot activity and AI citations

Microsoft also says Clarity should not be used on websites or apps aimed at users under 18.

How does it work? #

You add Microsoft’s script to every page. It sends each visit to Clarity and sets cookies that hold a pseudonymous ID, so page views join up into one recording of a session. Microsoft’s cookie list names two first-party cookies and several third-party ones:

Cookie What Microsoft says it does Type
_clck Keeps the Clarity user ID and preferences for that site First-party
_clsk Joins a user’s page views into one recording First-party
CLID Marks the first time Clarity saw this user on any Clarity site Third-party
MUID Identifies browsers visiting Microsoft sites, used for advertising, site analytics and other purposes Third-party

The script runs in a person’s browser. That is why it sees people, and why the bot figures in Clarity come from a different place (see below).

Microsoft says Consent Mode is on by default for visitors from the UK, the EEA and Switzerland. Clarity then waits for a valid consent signal before it sets any cookie. You pass that signal from your cookie banner, through a supported consent platform or Clarity’s Consent API. Its consent status uses the names analytics_storage and ad_storage, as Google’s tags do; see Consent Mode v2. Microsoft’s FAQ says that without consent Clarity limits what it collects, and that consent should be obtained for UK users. The legal rules come from PECR and UK GDPR.

The ICO’s statistical purposes exception needs a third-party provider to act as a processor that does not link the data with other information it holds, and it never allows tracking individual visitors. Session recordings follow one visitor. For our own site: URSY.com does NOT change its consent banner; Google Analytics stays consent-only on ursy.com, and our own tag is already cookie-free.

Masking modes #

Mode What Clarity hides in recordings
Strict All content
Balanced (the default) Sensitive content: Microsoft classes numbers and email addresses as sensitive
Relaxed Nothing, except input boxes and drop-down menus, which are masked in every mode

Microsoft says masking changes affect new recordings only, can take up to an hour, and cannot be applied to old ones. To mask one block, such as an order summary, add data-clarity-mask="True" to its HTML element. Clarity does not mask content inside style sheets, so keep personal details out of CSS.

How long does Clarity keep data? #

The Clarity FAQ says recordings are kept for 30 days. Favourite recordings and a random sample are kept for up to 9 months. Clarity records up to 100,000 sessions per project per day, and a heatmap covers up to 100,000 page views. Put the 30-day limit in your privacy notice. See data retention.

Clarity does not see Google’s search data. It shows what people do after they land. Pair it with Google Search Console: Search Console shows the query and the click, Clarity shows whether the landing page answered it. A high bounce rate plus recordings of people scrolling past the answer points to a page that hides its point. Microsoft’s FAQ also describes linking Clarity to Google Analytics with a “Clarity Playback URL” dimension.

Why does it matter for AI answers? #

Clarity’s Bot Activity dashboard is not built from the page script. Microsoft says it uses server-side logs, collected through supported CDN and server connections. That makes the point plainly: a browser tag cannot see an AI crawler. Microsoft also warns that a bot request does not mean your content was used, cited or shown in an AI answer. A read is not a citation.

Which visitors can Clarity see? #

Visitor Seen by the Clarity script?
People Yes, if they allow it and the script runs
Search crawlers such as Googlebot No; only through a server or CDN connection
AI crawlers such as GPTBot No; only through a server or CDN connection
AI agents acting for a person Only when they run a real browser
API and MCP calls No; they never load the page

This table is our reading of how a page script works, not Microsoft’s wording. It is why we keep tags, edge logs and API logs apart. See observed vs inferred data.

A worked example #

A garden shop sees people reach the basket and stop. In Clarity’s funnel, most leave on the delivery step. Recordings show them tapping a “Delivery” line that is not a link. The shop makes it a link, then checks the funnel a week later. That is conversion rate optimisation in one step. Before going live it set masking to Balanced, added data-clarity-mask="True" to the order summary, and checked the consent signal with Microsoft’s console test.

Common mistakes #

  • Cookies before consent. Microsoft says to turn the cookie setting off in Settings, then Setup, so Clarity does not set cookies by default.
  • Not passing a change of mind. Microsoft says the site owner must tell Clarity when consent changes.
  • Masking too late. Old recordings stay as they were recorded.
  • Reading bot rows as people. Microsoft says some bot sessions can slip past its bot detection. See bot traffic in analytics.
  • Treating bot activity as AI visibility. Requests are not citations or AI visibility.
  • Using it on a children’s site. Microsoft says not to.

How to check it #

  1. To see if a site uses Clarity, open View page source and search for clarity.ms. Our Tracking Checker lists every tracker and pixel a page loads, and the tech stack checker shows the analytics tools a site is built with.
  2. Run our Cookie Checker in a fresh window. Before consent, there should be no _clck or _clsk.
  3. Paste Microsoft’s test into the DevTools Console and read consentStatus. Before the visitor accepts, it should show analytics_storage: "DENIED":
    clarity('metadata', (d, upgrade, consent) => {
         console.log('consentStatus:', consent);
    }, false, true, true);
  4. Decline cookies, check Clarity still makes its /collect calls, then check your browser’s cookies: Microsoft says there should be no _clck or _clsk entry.
  5. Check the whole consent set-up against Consent Mode v2 for UK websites, then run the UK Shop Compliance Checker for the banner and company details.
  6. Use the HTTP Header Checker to see the headers the first response sends.
  7. In Clarity, review masking so form fields and personal details are hidden in recordings.
  8. When recordings show people stuck on wording, paste the text into the Readability Checker, and check the outline with the Heading Checker.
  9. For the bots Clarity’s script cannot see, drop your server log into the AI Crawler Log Analyser, and check any bot name with Verify an AI Bot. See server logs and log file analysis.
  10. Run the SEO Checker on the page with the worst recordings to see the fixes for search.

Single checks on each tool page: free, no account (2 a day). The full audit: a free account (sign in with an emailed code), 1 a day. In URSY Pro, opening in stages: journeys, basket and checkout drop-off and cookie-free analytics.

What URSY.com counts #

We do not record sessions. We count five kinds of visitor: people, search engines, AI crawlers, AI agents and other machines. A page view is a person’s browser running our cookie-free counter; we never keep what people type, do no fingerprinting and keep no full IP addresses. Bots come from the CDN’s edge log, including pages the cache answers. The rules are on our methodology page; see also cookieless analytics.

Questions #

Is Microsoft Clarity free? #

Yes. Microsoft says it is free forever, with no obligation to upgrade.

Microsoft enforces consent signals for UK visits and says consent should be obtained. Without consent, Clarity limits what it collects.

Can Clarity show AI bots? #

Yes, through its Bot Activity dashboard, but only after you connect a supported server or CDN. Microsoft says some connections can cost extra with your provider.

How long are recordings kept? #

30 days. Favourites and a random sample are kept for up to 9 months.

Can Clarity replace Google Analytics? #

They answer different questions. Google Analytics 4 counts traffic and sources; Clarity shows behaviour on the page. Both need consent for UK visitors.

Sources #

Updated 24 November 2026 by URSY.com.

Cite this page: Microsoft Clarity. URSY. Updated 26 November 2026. https://ursy.com/wiki/microsoft-clarity/ · Section links

Tools for this

All 871 wiki entries, A to Z →