Microsoft Clarity Consent Mode
Starting October 31, 2025, Microsoft Clarity enforces consent signal requirements for page visits originating from the European Economic Area (EEA), United Kingdom (UK), and Switzerland (CH). A valid consent signal is required to ensure full functionality of Clarity features for users in these regions.
Microsoft Clarity Collects user session data using a cookie. The cookie tells Clarity how a user accessed your site, the user's location, the user's language preference, and more.
As a website publisher, you might be subject to data protection laws that require you to obtain consent before collecting users’personal information – such as the EU's GDPR and ePrivacy Directive. Other regulations may require you to provide users with the ability to opt out of cookie usage.
Usercentrics CMP has built-in support for Clarity Consent Mode. You must set up Usercentrics CMP with Clarity Consent Mode once you start collecting or passing user data to Microsoft Clarity.
Setting up Microsoft Clarity Consent Mode on Usercentrics CMP
Follow these steps to set up the Microsoft Consent Mode:
- Navigate to your configuration.
- Under Service Settings - Data Processing Services, click the Add DPS via database button. Add the Microsoft Clarity service to the list of services, with the Marketing category. Then, publish the changes.
- Enable Microsoft Clarity Consent Mode under Configuration - CMP Settings - Microsoft Clarity Consent Mode
- Make sure that the script tag is implemented on the website.
When enabled, Usercentrics sets the necessary properties on the website so that Microsoft only uses user data for ads and analytics if consent is given. The permissions are mapped to:
- Marketing category
- Microsoft Clarity (Template ID: jzMEq56vW) data processing service
How does Microsoft Clarity Consent Mode work
Clarity uses two parameters to communicate user consent:
- ad_Storage: Indicates whether the user has consented to Microsoft processing data for advertising purposes.
Acceptable values are GRANTED or DENIED.
- analytics_Storage: Indicates whether the user has given Microsoft consent to store analytics-related data.
Acceptable values are GRANTED or DENIED.
After completing the setup, the permissions ad_Storage and analytics_Storage are both mapped to the Marketing category as well as the Microsoft Clarity (Template ID: jzMEq56vW ) Data Processing Service (DPS).
The values ad_Storage and analytics_Storage are set to GRANTED only when the user has given consent for the Marketing category or for the Microsoft Clarity DPS that is used on your website.