Free session recording + heatmaps from Microsoft. Zero sampling, GDPR-compliant.
Configure
integrations.claritystringpathrequiredMicrosoft Clarity Project ID. Script injects via <Script strategy="afterInteractive"> and loads from https://www.clarity.ms.
{
"integrations": {
"clarity": "abc123def4"
}
}Where to find your project id
Clarity → Settings → Setup → Tracking code → copy the ID from the snippet.
Or set it from the dashboard — Editor → Configurations → AI & Advanced → Integrations.
Loading behavior
Strategy:
afterInteractive— injected after page interactivity, so it never blocks first paint.CSP: if you enforce a Content Security Policy, allowlist
https://www.clarity.msinscript-src.Removal: delete the
integrations.claritykey (or blank it in the dashboard) and redeploy — the script disappears on the next page load.
Related
Schema reference —
integrations— auto-generated field listing