How to Use Microsoft Clarity: Free Heatmaps and Session Recordings

The short answer: Microsoft Clarity is a free tool that records how visitors scroll, click and move through your website and adds those actions up into heatmaps. To use it well, install the tracking code once (directly, with the official WordPress plugin, through Google Tag Manager or with the Shopify app), check the masking setting before real visitors arrive, and pass a consent signal for visitors from the European Economic Area, the UK and Switzerland, which Clarity has enforced since 31 October 2025. Then read it on a schedule: filter recordings to one important page and one problem signal, compare them with the click and scroll maps, and write each pattern down before you change anything.

This guide is for owners, marketers and web teams at small and mid-sized businesses anywhere in the world who want to set up Clarity properly and turn what it shows into fixes. It covers limits, four ways to install, GA4, masking, consent by region, heatmaps, recordings, insight signals, Copilot, a weekly routine and common mistakes. We checked every feature, setting and limit against Microsoft’s Clarity documentation and other official sources on 25 November 2026.

Seven steps for using Microsoft Clarity: install the code once, exclude your own visits, check masking, pass consent for EEA, UK and Switzerland visitors, read the heatmaps, filter the recordings, and write findings down before fixing

What Clarity costs, and its limits

Clarity is a behaviour analytics tool: it shows what people did on the page rather than counting visits like Google Analytics. Microsoft’s FAQ says “Clarity is a free service forever” and that you never hit traffic limits or have to upgrade to a paid version. Free does not mean unlimited in every way:

WhatWhat Microsoft’s documentation says
PriceFree, with no paid version and no credit card to sign up
RecordingsUp to 100,000 sessions per project per day; all sessions are tracked, but not every one has a recording
HeatmapsUp to 100,000 page views per heatmap; no minimum traffic needed
Recording playbackKept for 30 days, then 1% of recordings or 10 a day (whichever is higher) for up to 9 months
Favourited or labelled sessionsKept for 9 months
Heatmap and click dataKept for 9 months
Deleting dataYou cannot delete a single recording; deleting one person’s data means deleting the whole project
Blind spotsContent inside a canvas element or a third-party iframe
Not forWebsites or apps targeting users under the age of 18

Microsoft’s data retention page says data is deleted after these periods, including backups, and cannot be recovered. Favourite or label any recording you need within 30 days.

One more point before you install. Clarity’s FAQ says Clarity “operates as a data controller” and that Microsoft has access to the data, pointing to Clarity’s terms of use and the Microsoft Privacy Statement. That shapes your privacy notice and, in some countries, your consent rules.

Three decisions before you install

  1. One project per website. Microsoft recommends one Clarity project per domain; the same code can run on its subdomains.
  2. Pages that should never be recorded. Account areas, password resets, pages showing health, financial or identity details, and thank-you pages that repeat what someone typed. Microsoft’s FAQ says to remove the tracking code from any URL you do not want recorded.
  3. One installation method. Pick one, and write down which, so the next person knows where to change it.

How to install Clarity

Sign up at clarity.microsoft.com, select New project, and enter your website’s name and address. The installation options are under Settings > Setup.

Four ways to install Microsoft Clarity: the tracking code in the page head, the Microsoft Clarity WordPress plugin, Google Tag Manager, and the Shopify app, then check for a live user and POST requests to clarity.ms/collect

Method 1: the tracking code

Choose Install manually, select Get tracking code, and paste the script into the head section of every page you want measured. Each project has its own code. This suits hand-built sites and builders that let you add code to the head; Microsoft also offers an NPM package for JavaScript apps.

Method 2: the WordPress plugin

Go to Plugins > Add new plugin, search for Microsoft Clarity (published by Microsoft on WordPress.org), then Install and Activate. Open Clarity from the admin menu, select Sign in, and choose an existing project or create one. Microsoft says the same steps apply to WooCommerce stores. If your SEO plugin or theme can also add Clarity, use only one of them.

Method 3: Google Tag Manager

Microsoft documents three routes:

  1. Clarity’s own connection (Microsoft’s recommended method). In Clarity, go to Settings > Setup > Google Tag Manager > Finish setup, sign in with Google, allow Clarity to publish, choose the account and container, and select Create and publish.
  2. The official template. In Tag Manager, create a tag, choose Discover more tags in the Community Template Library, pick Microsoft Clarity – Official, select Add to workspace, enter your project ID (in your Clarity project’s address after /projects/view/), set the trigger to All pages, save and publish.
  3. A Custom HTML tag containing the tracking code, with an All pages trigger.

Microsoft notes you can link only one tag to a Clarity project at a time. Our guide to Google Tag Manager for beginners covers containers, Preview mode and publishing; use Preview to confirm the Clarity tag fires where you expect and not on pages you excluded.

Method 4: Shopify

In the Shopify App Store, install Microsoft Clarity: AI Insights, review the data permissions, then open the app settings and make sure Clarity JS is switched on. Microsoft says stores that added the code to theme.liquid are migrated without code changes, and that on Shopify Plus, checkout and post-checkout pages are tracked through Shopify’s pixel. Its consent page also asks Shopify users to review how consent reaches Clarity. Allow a few hours for data to appear.

Check that it works

  1. Live users. Open your site in one tab and the Clarity project in another; the dashboard should show you as a live user.
  2. The network request. In your browser’s developer tools, open the Network tab and look for POST requests to clarity.ms/collect as you click around. No request means the script is not running on that page.

Then exclude your team under Settings > IP blocking (add your office address or select Block my current IP). Clarity supports IPv4 addresses only, not dynamic addresses such as a VPN, and changes take about 15 minutes.

Connect Clarity to GA4

The integration pulls your GA4 data into a Google Analytics dashboard inside Clarity, so you can move from a GA4 number to the recordings behind it. With Clarity installed, go to Settings > Setup, select Get started under Google Analytics integration, sign in with the Google account that can see your GA4 property, choose the property and select Save.

You can connect one property per Clarity project. The dashboard shows an audience overview, an acquisition report by channel and source/medium, popular pages, and sessions by country or region and device; each card opens the matching heatmaps or recordings for that time frame. Microsoft’s GA4 page lists two limits: Clarity does not support GA4 segments, and it does not send recording links into GA4. Expect the two tools to report different numbers. If GA4 itself is not ready, start with our guide to setting up Google Analytics 4.

Masking: what Clarity hides and how to hide more

Masked content is never uploaded to Clarity, so it never appears in recordings or heatmaps. Choose a mode under Settings > Masking; Balanced is the default.

Microsoft Clarity masking modes: Strict masks all page content, Balanced (the default) masks numbers and email addresses, Relaxed masks only input boxes and drop-downs, which are masked in every mode; extra masking by CSS selector or the data-clarity-mask attribute
ModeWhat it masks
StrictAll page content
Balanced (default)Content Clarity classes as sensitive: numbers and email addresses
RelaxedNo page content, except input boxes and drop-down menus

What people type into input boxes, and drop-down menus, are masked in every mode and cannot be unmasked. That protects form entries, but not personal details a page shows back as text, such as a name on an account page. Balanced mode masks numbers and email addresses in that text, but Microsoft does not list names as sensitive content, so check those pages yourself.

To mask more, either add a CSS selector under Settings > Masking > Mask by element (for example .account-details), which covers that element and everything inside it, or add data-clarity-mask=”True” to the element in your page code. The attribute overrides the project settings; data-clarity-unmask=”true” does the reverse.

Microsoft’s masking page adds four rules: only admins can change masking; changes apply to new recordings only and can take up to an hour; content inside style sheets or style tags is not masked; and masking of URL parameters is available only by asking Clarity support. If personal data appears in your page addresses, fix the URLs. Then test: visit your own contact and account pages and watch the recording.

Consent: what Clarity requires, and the rules by region

Since 31 October 2025, Clarity has enforced consent signals for visits from the EEA, the UK and Switzerland. Microsoft says this “does not introduce new consent requirements”; it enforces rules that already applied. Clarity locates visitors by IP address, and your own location is irrelevant: a business in the US, India or Australia with European visitors is affected.

Schematic of how a consent signal reaches Microsoft Clarity for visitors from the EEA, UK or Switzerland: consent banner, then Google Consent Mode, a supported CMP or the consentv2 API; granted analytics storage gives full sessions, denied gives cookieless data only

What changes with and without consent

Clarity reads two consent types, named as in Google’s Consent Mode: analytics_storage and ad_storage. With analytics_storage granted, Clarity sets its cookies and every feature works. Denied or missing, it still loads but collects cookieless data only. With ad_storage granted, Clarity shares data with Microsoft Advertising; denied, it does not.

Without consent, Clarity cannot join pages into one visit. Microsoft’s documentation lists the effects: each page view becomes its own session, pages per session becomes 1, multi-step funnels show a full drop-off, every visitor counts as new, quick backs are recorded as 0, and Copilot answers may be inaccurate.

How to pass consent

Consent Mode is on by default for visitors from those three regions. To apply it to every visitor, turn the Cookies setting off under Settings > Setup. In your banner, list Clarity’s cookies as non-essential, as Microsoft’s compliance checklist asks. Then pass each visitor’s choice in one of these ways:

  1. Google Consent Mode. Microsoft’s Google Consent Mode page says Clarity reads and honours its signals automatically, so a site already using it needs no changes. One FAQ answer still calls it “coming soon”, so test it.
  2. A supported consent platform, such as Cookiebot or CookieYes, once Clarity’s Consent Mode is enabled.
  3. The Clarity consent API, called from your own banner after the visitor chooses.

The current API call is consentv2; Microsoft says the older consent call is planned for deprecation. For a visitor who accepts analytics but declines advertising:

window.clarity('consentv2', {
  ad_Storage: "denied",
  analytics_Storage: "granted"
});

When a visitor withdraws consent, Microsoft’s consentv2 page documents window.clarity(‘consent’, false), which erases Clarity’s cookies and prevents further tracking until new consent is given. Clarity treats consent as valid for up to 9 months. Our rule of thumb: keep ad_Storage denied unless you run Microsoft Advertising and your banner asked about advertising.

To check it, follow the console test on Microsoft’s Consent Mode page: before anyone accepts, it should report both types as DENIED. Then clear cookies, reload, decline the banner, and confirm there are no _clck or _clsk cookies while requests to clarity.ms/collect continue.

Legal notes by region (general information, not legal advice)

  • EU and EEA (GDPR and ePrivacy): Article 5(3) of the ePrivacy Directive generally requires consent before storing or reading information on a device unless it is strictly necessary for a service the user asked for; the European Data Protection Board’s Guidelines 2/2023 cover its scope. GDPR governs the personal data itself.
  • UK (PECR): The ICO’s guidance says you must obtain consent for “logs or recordings of individual visitors to your website and the actions they took”, unless for security. Its statistics exception does not cover tracking individuals and needs the provider to be your processor; Clarity describes itself as a data controller.
  • US (state laws): There is no single federal privacy law. California’s privacy agency says businesses covered by its law must honour opt-out preference signals such as Global Privacy Control as requests to opt out of sale or sharing; Clarity’s FAQ says it supports Global Privacy Control. Check each state you serve.
  • India (DPDP): The Digital Personal Data Protection Act 2023 and its Rules, notified in November 2025, phase in notice and consent duties over about 18 months.

Everywhere, name Clarity and Microsoft in your privacy notice. Microsoft’s privacy disclosure page offers sample wording, but its sample site notice says visitors agree by using the site, which is not consent where consent is required. Our guide to A/B testing with low traffic has a wider table of privacy rules for recording tools, including Australia, Canada and the UAE, and our landing page best practices cover consent on lead forms.

Not sure your Clarity setup is recording the right pages, with consent? Ask for a Free Growth Audit. We check your installation, masking and consent signal, look at your key pages’ heatmaps and recordings, and tell you which fixes to make first.

How to read the heatmaps

A heatmap adds up what many visitors did on a page or group of pages; colours get warmer where activity is higher. Clarity builds click maps from the elements people clicked, not screen positions, but switch between PC, Tablet and Mobile anyway: layouts and behaviour differ by device.

MapWhat it showsThe question it answers
Click mapClicks or taps per element, with dead, rage, error, first and last click viewsDo people click the call to action, or things that are not links?
Scroll mapThe share of visitors reaching each point in 5% steps, with drop-off and the average foldDo most people ever see the form, price or proof?
Area mapClicks inside an area you draw, as a share of all clicks on the matched pagesHow much attention does the pricing block or header get?
Attention mapTime spent on each part of the pageWhich sections do people stop and read?
Conversion mapWhich clicks lead to purchases (ecommerce)Which elements are linked to sales?

Four habits make them useful. Read the scroll map first: if most mobile visitors never reach the form, a click map of the form says little. Check the left panel, which ranks every element by clicks, including menus that the screenshot may not show. Set the time frame to start on the day a page changed, or use Heatmaps Compare, so old and new designs never mix. And check the page view count at the bottom of the map: Microsoft notes the screenshot comes from one randomly chosen recording, and a map built from a few dozen page views is a hint, not a finding.

Recordings and filters

A recording is not a video: Clarity captures the page content and the visitor’s actions and rebuilds them. A session ends after 30 minutes of inactivity. Use skip inactivity to jump idle time, and More details for the event timeline.

The value is in the filters; Clarity has more than 30. The ones a small business uses most:

FilterUse it to
Visited or entry URLWatch only sessions that included your contact, pricing or landing page
InsightsFind sessions with rage clicks, dead clicks, excessive scrolling or quick backs
DeviceWatch mobile and desktop separately
Traffic (source, medium, campaign)Compare ad visitors with organic ones; tag links with UTM parameters first
Smart eventsFind sessions with, or without, a form submit or Request quote action
JavaScript errorsFind sessions where a script failed

Save useful combinations as segments, and label or favourite recordings you will need later.

The insight signals, in Microsoft’s words

Clarity flags four behaviours automatically; these definitions come from Microsoft’s insights metrics page.

Microsoft Clarity's four insight signals with Microsoft's definitions and what to check: rage clicks, dead clicks, excessive scrolling and quick backs
  • Rage clicks: flagged when “the user clicks multiple times in a clustered area in rapid succession”. Look for elements people expect to work: a photo that does not open, a slow or disabled button.
  • Dead clicks: clicks on an element that gives “no feedback in a reasonable amount of time”. Microsoft says these can mean broken elements, slow requests or misleading design, such as underlined text that is not a link.
  • Excessive scrolling: a session with “higher amounts of vertical scrolling than the expected average”. Visitors may not be finding what they came for.
  • Quick backs: a visitor goes to another page and returns faster than Clarity’s threshold for that page. The link or menu label may promise something the page does not deliver.

Clarity also reports JavaScript errors and click errors (errors straight after a click). On a lead-generation site, a click error on the submit button outranks everything else. No signal is proof on its own: a rage click on a gallery may be a visitor flicking happily through photos. Watch the recordings behind a flag before you call it a problem.

Copilot: AI summaries and their limits

Copilot in Clarity uses generative AI. Microsoft lists Chat (plain-language questions about your dashboard), Session insights (a summary of one recording), Grouped session insights, Heatmap insights (a page’s heatmaps summarised across all three device types) and Ad campaign insights, switched on or off under Settings > Copilot. Microsoft warns that outputs can be wrong and “shouldn’t be treated as expert recommendations”, that session insights are unavailable for sessions under five seconds, and that Chat is not optimised for questions about recordings or heatmaps. Use a summary to choose which recordings to watch, then watch them.

A practical weekly routine

Our rule of thumb for a small business site with a few key pages, at about 30 to 45 minutes a week:

  1. Dashboard (5 minutes). Compare dead clicks, rage clicks, quick backs and JavaScript errors with last week, using the same filters. A jump after a site change comes first.
  2. One page, one signal (15 minutes). For example: contact page, dead clicks, mobile, last 7 days. Watch until the same behaviour repeats or you run out of sessions, and label each one that shows it.
  3. Heatmaps for that page (5 minutes). Does the scroll or click map show the same pattern across many visits?
  4. Write it down (5 minutes). Page, device, what you saw, how many sessions showed it out of how many watched, the labelled recordings, likely cause, proposed fix and owner.
  5. Check last week’s fix (5 minutes). Has the signal on that element fallen since the dated change?

Rotate the page each week: contact or quote page, top ad landing page, top service page, pricing page.

Turn findings into fixes and tests

Sort each finding into one of three kinds:

Kind of findingExampleWhat to do
BrokenDead clicks on a submit button; a click error on a booking widgetFix it now, test on real devices, and watch a few recordings after release
ConfusingRage clicks on a service image; quick backs from a menu itemMake the smallest change that removes the confusion, then compare before and after
PersuasionMost mobile visitors leave before the proof sectionForm a hypothesis; test it if your traffic allows, or log it as a dated before-and-after change

Check every finding in GA4 before acting: if a page full of rage clicks still produces most of your enquiries, the clicks may be an irritation, not a leak. Change one thing at a time. Our guide to what conversion rate optimization is shows where Clarity fits in the research cycle, and our CRO audit checklist gives page checks to run alongside it. If you get visitors but few enquiries, run the tests in why a website is not generating leads first, so you know which page to watch.

Common mistakes

  • Recording pages that show sensitive data. Input boxes are masked, but account pages and order summaries can show personal details as text. Remove the code or mask the elements; you cannot delete single recordings later.
  • Drawing conclusions from a handful of sessions. Three struggling visitors are a reason to look closer, not a result. Note how many sessions showed it, and check the heatmap and GA4.
  • Skipping consent. Without a signal, EEA, UK and Swiss visits become one-page sessions and many reports change meaning.
  • Installing twice. A plugin plus a Tag Manager tag makes it unclear which copy to update.
  • Leaving your own visits in. Block your office IP and keep form tests off the live site.
  • Reading desktop maps for a mobile audience. Match the device view to your visitors.
  • Using it on sites aimed at children. Microsoft says Clarity should not be used on sites targeting users under 18.

How Apzom can help

Apzom Digital sets up Clarity as part of our conversion rate optimization work: one clean installation, masking checked on your real pages, consent passed through your banner or Tag Manager, GA4 connected, internal visits excluded, and a weekly review that ends in a written fix list with the recordings behind each item. We have not published a Clarity case study yet, so we will not quote results we cannot show you. We work with clients worldwide, remotely, from our base in Ahmedabad, India.

Get a Free Growth Audit of your Clarity setup and key pages. Send us your website and the pages that should bring enquiries. We send back a written review: installation and consent checks, masking gaps, the patterns we see in your recordings and heatmaps, a ranked fix list, and a quote if you want us to do the work.

No obligation, no promised conversion rates, and no legal advice: we flag what to check with your adviser. Prefer to talk first? Contact us or read our CRO audit checklist.

Frequently asked questions

Is Microsoft Clarity really free?

Yes. Microsoft says Clarity is free forever, with no paid version and no traffic limits. The real limits are retention and volume: 30 days of playback, 9 months of heatmap data, and up to 100,000 recorded sessions per project per day.

Does Microsoft Clarity slow down my website?

Microsoft’s FAQ says Clarity does not impede site performance, but every third-party script adds some browser work. Load it once and compare your Core Web Vitals before and after; our guide to Core Web Vitals explains the numbers.

Is Microsoft Clarity GDPR compliant?

Microsoft says Clarity is designed to be GDPR ready, but compliance depends on how you use it: collect consent from visitors in the EEA, the UK and Switzerland and pass it to Clarity, name Clarity and Microsoft in your privacy notice, and keep sensitive pages out. Ask your own adviser about your situation.

How many recordings should I watch before changing a page?

There is no official number. Our rule of thumb is to keep watching until the same behaviour repeats across several sessions on the same page and device, then confirm it in the heatmap and GA4. Our guide to A/B testing with low traffic explains how to judge the change once you make it.

Share this article
Disha Barot, SEO Specialist at Apzom Digital
Written byDisha BarotSEO Specialist, Apzom Digital

SEO Specialist at Apzom Digital. Handles technical and on-page SEO — crawl health, site architecture, entity and schema work, and the audits that start most engagements.

Get your free growth audit →