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 |
|---|---|
| First- and third-party cookies may be read and written for UET. |
| First-party cookies are neither read nor written for UET. |
ad_storage depends on the user's consent to these data processing services (DPS), not on a consent category:
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)
Custom DPS don't trigger the signal. If you use custom DPS for Microsoft services, you must update Microsoft Consent Mode yourself.
⚠️ Need user consent for all DPSs in the list (if they apply to your website)The
ad_storageproperty is set tograntedonly 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_storagewill be set todenied.
Setting up UET for Consent Mode
Prerequisites
A Web CMP configuration that includes at least one of the Microsoft data processing services listed in How it works.
A configuration that doesn't use TCF. The toggle isn't available for TCF configurations.
Turn on Microsoft UET Consent Mode
To turn on the setting, follow these steps:
Go to Configuration and select your configuration.
Go to the CMP Settings tab.
Turn on Microsoft UET Consent Mode.
Publish your configuration.
Usercentrics CMP now passes the UET consent signal after each explicit consent action.
Disabling UET for Consent Mode
To stop Usercentrics CMP from passing consent information to Microsoft UET, turn off the setting:
Go to Configuration and select your configuration.
Go to the CMP Settings tab.
Turn off Microsoft UET Consent Mode.
Publish your configuration.
⚠️ If your website already sets UET Consent Mode in the script
A UET setting in your script overrides the toggle:
V3 script tag (
uetConfiginwindow.ucCmpConfig): the script value always wins, whether it turns UET off or on.V2 script tag (
data-disable-uetattribute): the attribute can only turn UET off. If it's present, UET stays off even when the toggle is on. If it's absent, the toggle decides.
To control UET Consent Mode with the toggle (recommended), remove the script setting from your website.