The Microsoft Clarity integration loads the Clarity script and manages consent for session recording and heatmaps. It sets ad_storage and analytics_storage to denied by default, then updates them via the Clarity ConsentV2 API when visitors accept or revoke a category:
| Cookie Control category | Clarity consent signal |
|---|---|
| analytics | analytics_storage |
| marketing | ad_storage |
Enable Microsoft Clarity from the Integrations tab in your dashboard. You will be prompted for your Clarity Project ID, an alphanumeric ID found under Settings → Setup in your Microsoft Clarity project.
The integration manages the cookies _clck, _clsk, MUID, CLID, ANONCHK, MR, and SM, and blocks scripts from clarity.ms until consent is given.