Microsoft Consent Mode (UET)
Enabling Microsoft Consent Mode in Gravito Intelligent CMP
Gravito CMP supports two ways to enable Universal Consent Mode:
1. Using Configurator
- Login to the Gravito Admin Portal.
- Click on the CMP tab.
- Select the Gravito CMP Configurator from the option.
- On the CMP Config listing page, click the New Configuration button to create a new CMP config.
- Fill in the basic information, then click Next at the bottom-left corner.
-
On the Consent Category page:
- Tick the checkbox labeled "Microsoft's Universal Event Tracking (UET)".
- This will open a section for Microsoft UET Setup.
Consent Mapping:
You’ll now see dropdowns to map category for : ad_storage
Select the relevant consent category from the dropdown list.
Note: This mapping is for the ad_storage
signal only is common across both GCMv2 & UET.
Once mapping is complete, click Save at the bottom-right. Now you have successfully enabled Microsoft UET Consent Mode in your CMP configuration.
You may continue filling out the other CMP configuration steps, or jump directly to the "Deploy" tab.
2. Without Configurator
-
Enable UET Mode:
Add theuseUET
flag under thesettings
section of your configuration and set its value totrue
."settings": { "useUET": true // ... other settings }
-
Add
adsConsentId
You must also define the
adsConsentId
property in your configuration. This is required to map consent values for Microsoft UET. There are two cases:-
If Google Consent Mode is already configured:
The
adsConsentId
property will already be available in your config. -
If not configured:
Add the
adsConsentId
property under thecore
section of your config manually.
-
-
Define
adsConsentId
Based on CMP TypeThe
adsConsentId
should be a single ID referring to the custom consent item that you have defined in the config. It is not an array of TCF purpose IDs in this case.Example:
"core": { "adsConsentId": {{YOUR_CONSENT_ITEM_ID}} }
This means the consent value of the item with ID
"{{YOUR_CONSENT_ITEM_ID}}"
will be used for Microsoft UET. -
How Gravito CMP Handles UET Consent
Once the above configuration is complete:
- Microsoft UET mode is considered enabled.
- Gravito CMP adds the corresponding ads consent value (
denied
orgranted
) to the globaluetq
window object. - By default, the value is
denied
. - After consent is obtained, the CMP updates the value based on the mapping defined in
adsConsentId
.
Microsoft reads this value from the
uetq
object to determine whether tracking is allowed.Gravito CMP's follow the approach mentioned Here