Microsoft Universal Event Tracking (UET) Consent Mode

Prev Next

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.

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_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.

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.

To turn on the setting, follow these steps:

  1. Go to Configuration and select your configuration.

  2. Go to the CMP Settings tab.

  3. Turn on Microsoft UET Consent Mode.

  4. Publish your configuration.

Usercentrics CMP now passes the UET consent signal after each explicit consent action.

To stop Usercentrics CMP from passing consent information to Microsoft UET, turn off the setting:

  1. Go to Configuration and select your configuration.

  2. Go to the CMP Settings tab.

  3. Turn off Microsoft UET Consent Mode.

  4. Publish your configuration.

A UET setting in your script overrides the toggle:

  • V3 script tag (uetConfig in window.ucCmpConfig): the script value always wins, whether it turns UET off or on.

  • V2 script tag (data-disable-uet attribute): 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.