Google Analytics tells you how many people visit, which pages they open and where traffic comes from. It does not answer a key question: what do people actually do on the page? Where do they click, where do they get stuck, why do they leave without filling in the form? Microsoft Clarity is a free tool built for exactly that. It shows behaviour through heatmaps and session recordings, with no paid tier tied to traffic volume.
What Clarity shows
Session recordings are not videos but reconstructions of cursor movement, clicks, scrolling and page changes. Watching one real visitor search for your menu often explains more than a dozen report tables. Heatmaps add the aggregate view: click maps show which elements get clicked, scroll maps show how far down visitors get, and area maps show click share per block. View desktop and mobile separately, because behaviour often differs completely.
Clarity also flags problem sessions automatically:
- Rage clicks: repeated clicks on one spot, usually something broken.
- Dead clicks: clicks with no response, such as text that looks like a link.
- Excessive scrolling and quick backs: visitors who cannot find what they expected.
- JavaScript errors: sessions with script errors in the browser.
Installing it
Sign in at clarity.microsoft.com, create a project and paste the tracking code into the page head:
<script type="text/javascript">
(function(c,l,a,r,i,t,y){
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "PROJECT_ID");
</script>
With Google Tag Manager use the official Clarity template from the gallery; WordPress has an official Microsoft plugin; a plain PHP site just needs the code in a shared template such as header.php. The script loads asynchronously and first recordings appear within hours.
Masking personal data
A recording is effectively a view of the user's screen. Clarity masks input fields by default, and the masking level can be made stricter in settings. Mask specific blocks with an attribute:
<div class="patient-info" data-clarity-mask="true">
Patient: ... | Phone: ...
</div>
Check masking on account, payment and medical or financial pages, mention behaviour analysis in your privacy policy, and if you serve European visitors, review Clarity's official consent requirements and connect it to your cookie banner.
Example: a dental clinic in Tashkent
A clinic's online booking form received only a few requests a month while the phone rang constantly. Within a week Clarity showed why: the mobile scroll map revealed most visitors never reached the form at the bottom, and the phone number in the header collected rage clicks because it was plain text. The number became a tel: link and a booking button moved to the first screen. Clarity did not fix anything by itself; it showed where to look. A few weeks later, the clinic reviewed fresh recordings with the same filters to confirm that visitors now tapped the number and reached the form.
Working alongside GA4
Clarity integrates with Google Analytics 4. Find a low-converting page in GA4, then filter Clarity recordings for that page, focusing on rage clicks and quick backs. Custom tags make filtering easier:
window.clarity("set", "plan", "business");
Favourite important recordings, since regular ones are kept only for a limited time. Most of all, visit with a specific question once a week and watch ten filtered recordings carefully rather than hundreds at random. Write down each issue you find, fix it, and compare the same filter again a week or two later.