Microsoft Clarity Consent
Dernière mise à jour
Cet article vous a-t-il été utile ?
Dernière mise à jour
Cet article vous a-t-il été utile ?
Microsoft Clarity uses cookies to collect user session data, such as how a user accessed your site, their location, and language preferences. As a website owner, you may be subject to laws requiring you to obtain user consent before placing cookies on their browser or collecting personal information.
By default, the Clarity tracking code is placed in your site's HTML header and loads immediately, even before the user has provided consent for cookies. To prevent this, you can configure Clarity to only install cookies after obtaining user consent.
This requires disabling cookies in Clarity settings and modifying your site's JavaScript to notify Clarity when consent is granted.
To disable cookies, go to Clarity > Settings > Setup, then turn off cookies
And then add Microsoft Clarity to your list of partners:
That's all! The Consent API is supported by default when you add Microsoft Clarity as a partner.
Note: This mode does not cover Microsoft UET activities! Please refer to this page if you need to enable consent management for this service.