Skip to content

Early-bird lifetime licence: $199 once, for the first 200 buyers only. See the offer

Microsoft Clarity

Adds Microsoft Clarity (heatmaps and session recordings). Visits by administrators aren’t recorded.

  • Type HTML
  • Runs Public site, in <head>
  • Tested with WordPress 7.1

Fill in your details first. Replace YOUR_PROJECT_ID with your project ID from Clarity > Settings > Setup.

HTML
<!-- Replace YOUR_PROJECT_ID with your Clarity project ID. -->
<script>
(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", "YOUR_PROJECT_ID");
</script>

Good to know

In the EU, load it only after consent (statistics cookies).

Comes with a rule

It doesn't run for administrators, so your own visits don't count in your statistics. You can change the rule after installing.

In these packs

  • Analytics and pixels: The usual tracking codes, ready to paste your ID into. Administrators’ visits aren’t counted.

Move your snippets over this afternoon.

Importing changes nothing until you switch over, and your old shortcodes keep working.