Analytics

Microsoft Clarity explained: heatmaps, recordings, masking

What Clarity shows you, how to read a click map and a recording without jumping to conclusions, and how masking and consent protect visitors.

By Laner Labs Learning teamPublished 5 min read

The friendly Laner helper

Microsoft Clarity is a behaviour analytics tool. It shows how people use your pages, using heatmaps and session recordings. Where Search Console tells you how people found you and Google Analytics counts visits, Clarity helps you see what visitors do on the page. This guide explains the main parts in plain words, and then the privacy controls that you should set up before you rely on it.

Clarity changes over time. Menu names, features and the privacy rules around consent may differ from what you read here. Check Microsoft's current help pages as you go.

What Clarity is

Microsoft describes Clarity as a behavioural analytics tool that helps you understand how people interact with a website or app. The getting-started steps are short: sign up, install the Clarity code, verify your installation, and start exploring. Microsoft says you can start seeing insights within minutes of installation, without building dashboards first.

It also states an important limit. Clarity should not be used on websites or apps that target users under 18 years of age. If your audience includes children or teenagers, stop and get advice before you install it.

Heatmaps: where people click and scroll

A heatmap shows combined behaviour across many visits to a page. Microsoft says Clarity records clicks and scrolls on desktop, mobile and tablet and creates heatmaps automatically, with no minimum traffic needed. You can view a single page or a group of pages.

  • Click maps show where people click or tap. They include types such as all clicks, dead clicks (a click with no response), rage clicks (rapid clicks in one small area), error clicks, first clicks and last clicks.
  • Scroll maps show how far down the page people go, in steps of 5 percent of page height, with the share who drop off at each point.
  • Area maps, attention maps and conversion maps are also available.

Here is how to read them without overreaching. If people click on something that is not a link, such as an image or a heading, they may think it is one. If the scroll map shows that many visitors never reach a button near the bottom, the button may need to move up. These are clues. Check them against other evidence before you redesign anything.

Recordings: following one visit

Session recordings let you replay a visit. Microsoft says a session ends after 30 minutes of inactivity, and that you can choose to skip inactive parts when watching. Because sessions are reconstructions from the HTML and user actions, they are lighter than real video, but they still show scrolls, clicks and page moves.

Do not watch random recordings for hours. Pick a question first. For example, "What happens just before people leave the contact page?" Then filter to that page and watch five or six recordings. Note what you see, and stop. One odd visit proves nothing. A repeated pattern across several visits is worth a closer look.

  1. Choose one page and one question.
  2. Use a filter, such as a page address or device type, to narrow the list.
  3. Watch a handful of recordings, and write down repeated patterns only.
  4. Check the click map for the same page to see if it agrees.
  5. Make one small change and look again later.

Privacy masking

Masking decides what content Clarity stores. Microsoft says Clarity masks sensitive content by default and does not capture anything that is masked. The modes are these.

  • Strict: all content is masked.
  • Balanced: only sensitive content is masked, and Microsoft says numbers and email addresses are treated as sensitive. This is the default.
  • Relaxed: no content is masked, although input boxes and drop-down menus are still masked.

Text typed in input boxes is masked in every mode and cannot be changed. You can also mask or unmask specific parts of a page by CSS selector, or by adding the data-clarity-mask or data-clarity-unmask attribute to an element. Only project administrators can change masking. Microsoft notes that changes affect new recordings and may take up to an hour, and that they cannot be applied to old recordings. It also advises not to put sensitive content in style sheets, because Clarity does not mask those.

A sensible habit is to pick Strict or Balanced first, then open a few recordings yourself to see what is visible. If you can read something you would not want a colleague to see, tighten the settings before others use the tool.

Microsoft's Consent Mode page says that from 31 October 2025 Clarity began enforcing consent signal requirements for visits from the European Economic Area, the United Kingdom and Switzerland, and that a valid consent signal is needed for full functionality for those users. It also explains that you can pass consent through a supported consent management platform or through the Consent API, and that you are responsible for telling Clarity when a visitor's consent changes.

Microsoft also provides sample wording for a site notice and for a privacy policy, and recommends a disclosure that says you use Clarity. Adapt the wording to what you really do. Rules differ by country, and no setting here makes a site legally compliant by itself. If you have any doubt, ask a qualified adviser.

Other small settings worth knowing

  • IP blocking: you can exclude your own office addresses so your team does not pollute the data. Microsoft says only IPv4 is supported and changes take about 15 minutes.
  • Retention: playback data is kept for 30 days, and favorited or labeled sessions and heatmap data for 9 months, according to Microsoft's data retention page.
  • Google Analytics link: Clarity can connect to a GA4 property. Microsoft notes some limits, such as no support for segments in GA4.

Official pages used for this article: https://learn.microsoft.com/en-us/clarity/setup-and-installation/about-clarity (Clarity overview), https://learn.microsoft.com/en-us/clarity/heatmaps/heatmaps-overview (Heatmaps overview), https://learn.microsoft.com/en-us/clarity/heatmaps/click-maps (Click maps), https://learn.microsoft.com/en-us/clarity/heatmaps/scroll-maps (Scroll maps), https://learn.microsoft.com/en-us/clarity/session-recordings/recordings-overview (Recordings overview), https://learn.microsoft.com/en-us/clarity/setup-and-installation/clarity-masking (Masking content), https://learn.microsoft.com/en-us/clarity/setup-and-installation/cookie-consent (Consent Mode), https://learn.microsoft.com/en-us/clarity/setup-and-installation/data-retention (Data retention), https://learn.microsoft.com/en-us/clarity/setup-and-installation/ip-exclusion (IP blocking) and https://learn.microsoft.com/en-us/clarity/setup-and-installation/privacy-disclosure (disclosure wording). Features and wording may change, so check the current pages.

Common questions

Is Microsoft Clarity free?

Microsoft's overview page says Clarity is a free service forever, with no obligation to upgrade to a paid version. Plans and terms can change, so read the current page before you rely on that.

Are session recordings real videos of a visitor?

No. Microsoft explains that sessions are not actual recordings of the user's screen. They are step-by-step visual reconstructions made by capturing the page HTML and the user's actions.

Does masking make my site compliant?

No. Masking helps keep certain content out of Clarity, but compliance depends on the law where you and your visitors are, how you use the data, and your consent setup. Ask a qualified adviser if you are unsure.

How long does Clarity keep my data?

Microsoft's data retention page says playback data is kept for 30 days, labeled or favorited sessions for 9 months, and heatmap data for 9 months. These periods can change, so check the page.

Official pages to check

AI tools change quickly. Check the vendor's current help page before you act, and review anything an AI tool produces before you rely on it.

Share this article