Do you advertise through Microsoft Ads and track your conversions using the UET tag? If so, as of late September 2024, you’ll need Microsoft Consent Mode for visitors from the EEA, the United Kingdom, and Switzerland. Without a proper consent signal, you’ll see conversions drop off. I wrote a detailed guest blog post about this for Analytics Mania. Here’s the gist.
How does Microsoft Consent Mode work?
The principle is the same as with Google Consent Mode. You first set a default consent status and update it as soon as the visitor makes a selection in your cookie banner. Microsoft uses only one parameter: ad_storage, with the value granted or denied. Because Google uses the same name, you can use a single signal from your CMP to control both your Google and Microsoft tags.
In every request sent to Microsoft, you'll see the parameter asc back: D does not constitute consent, G means "OK." This lets you quickly check if everything is correct.
Basic or advanced?
- Basic: Nothing is sent to Microsoft until the visitor gives consent.
- Advanced: Events will still take place, but without a click ID until permission is granted.
In my tests, "advanced" didn't offer much benefit, because the click ID is only returned if you pass it along between pages yourself. For most sites, "basic" is the logical choice.
Three Ways to Set It Up
- Using Simo Ahava's consent template in GTM. This is handy if you're already using it for Google Consent Mode: just enable the Microsoft option in the default and update tags.
- Using Markus Baersch's template in GTM. Keeps Microsoft consent separate from Google and follows the order specified by Microsoft.
- Hard-coded into the code. For sites where consent is not handled through GTM. Never combine this with a GTM solution that already handles consent.
Testing
In the "Network" tab, filter by "bing" and look at the asc-value: initially D, then G after consent is given in the banner. In the console, you can read the UET consent object to see if adStorageAllowed sets "true." Does everything remain set to "denied"? If so, the issue is often in the conversion from "true"/"false" to "granted"/"denied."
Need help?
Read the full article on Analytics Mania for step-by-step setup instructions, or contact us if you'd like us to set it up and review it for you.


