Microsoft Universal Event Tracking (UET) Consent Mode¶
Universal Event Tracking (UET) Consent Mode is Microsoft Advertising's way to make its Universal Event Tracking (UET) tag respect a user's cookie choices. UET Consent Mode lets you control UET browser storage access based on the consent status of your users. This enhances the privacy capabilities of UET and gives you control over whether first and third-party cookies may be used.
For the purposes of UET Consent Mode, the following definitions apply:
-
first-party cookie means a cookie created by the advertiser domain (your website)
-
third-party cookie means a cookie created by Microsoft Advertising (Bing.com)
How it works¶
Microsoft's UET Consent Mode reads the ad_storage property from the window.uetq global property to decide whether it can use the browser's storage for advertising purposes. The ad_storage property's possible values are:
| Value | Description |
|---|---|
granted | First- and third-party cookies may be read and written for UET. If no default is set, UET uses granted by default. |
denied | First-party cookies are neither read nor written for UET. Third-party cookies are not written. Third-party cookies are read-only for fraud and spam purposes, not for advertising purposes. |
The permission for Microsoft ad_storage is both mapped to the Marketing category as well as the following data processing services:
-
Microsoft Advertising (Template ID: BkeKqEjuoZQ)
-
Microsoft Conversion Tracking (Template ID: dUzxiHb6Q)
-
Microsoft Advertising Remarketing (Template ID: dsS7z9Hv4)
-
Microsoft Remarketing Conversion (Template ID: l5j0HxFqd)
-
Microsoft Remarketing (Template ID: 2AMblLg3I)
-
Microsoft Omnichannel (Template ID: 00xb_vkGq)
-
Microsoft Advertising (Template ID: BkeKqEjuoZQ)
Need user consent for all DPSs in the list (if they apply to your website)
The ad_storage property is set to granted only if the user has given consent to all data processing services from the above list (if they are used by your website). If a user doesn't consent to one of the data processing services above, ad_storage will be set to denied. Alternatively, if consent is given for the Marketing category, ad_storage will be set to granted.
Setting up UET for Consent Mode¶
Usercentrics CMP supports UET out of the box, without any further setup. As soon as the user has made their consent choices these will automatically be passed to UET using the global property window.uetq.
Disabling UET for Consent Mode¶
If you don't want Usercentrics CMP to pass consent information to Microsoft UET you can disable this functionality.
If you are using the V3 script tag in your website, add the following configuration script to disable UET Consent Mode:
<script>
window.ucCmpConfig = {
uetConfig: {
Disabled:true
}
}
</script>
If you are using the V2 script tag in your website, add the data-disable-uet attribute to the script tag to disable UET Consent Mode:
<script
id="usercentrics-cmp"
src="https://app.usercentrics.eu/browser-ui/latest/loader.js"
data-settings-id="your-settings-id"
async
data-disable-uet="true"
></script>