On this page
What this issue is
UET (Universal Event Tracking) is the Microsoft Advertising tag. It records page views and conversions from Bing and other Microsoft ads. UET consent mode lets the tag adjust what it stores based on the visitor's choice. It has one signal, ad_storage, which can be granted or denied.
Why it costs you leads or sales
There are two failure modes. In the first, the tag fires for everyone, including visitors who rejected cookies. That is a privacy risk. In the second, your consent banner blocks UET completely until the visitor accepts, and nothing is sent for anyone who declines or ignores the banner. Bing campaigns then see fewer conversions, and automated bidding learns from incomplete data.
- Bing ad clickVisitor lands with msclkid
- Consent bannerVisitor accepts or rejects
- UET consent signalNo default or update is sent
- UET conversionBlocked or tracked without respecting the choice
- Bing reportingConversions undercounted
Without a consent signal, UET cannot report correctly after the visitor's choice.
Example: 100 real Bing conversions in a month. Numbers are illustrative.
How to check if your site has it
Open the page in a private window
Use a fresh session so no earlier consent choice is stored.
Look at the page source
Search for
uetq. Check whether a line with'consent', 'default'appears before the UET tag code.Open the Network tab
Filter for
bat.bing.com. Note whether requests fire before you click anything on the banner.Choose Reject and reload
In the console, type
window.uetqand look for a consent entry. Check the bat.bing.com request for an ad storage parameter showing denied.Choose Accept
Confirm a consent update is pushed with
ad_storageset to granted.
How to fix it
The fix has two parts: a default that runs before the UET tag, and an update that runs when the visitor chooses. For visitors in regions that need opt-in, set the default to denied.
<script>
window.uetq = window.uetq || [];
window.uetq.push('consent', 'default', {
'ad_storage': 'denied'
});
</script>window.uetq = window.uetq || [];
window.uetq.push('consent', 'update', {
'ad_storage': 'granted'
});Add a default tag
Create a Custom HTML tag with the default snippet. Fire it on the Consent Initialization trigger so it runs before the UET tag.
Check your UET tag settings
In the Microsoft Advertising UET tag template, set the consent option if your template version offers one. Otherwise keep the UET tag firing after the default.
Add an update tag
Create a Custom HTML tag with the update snippet. Trigger it on your CMP's consent event, for example when marketing consent is granted.
Check your consent plugin
Open the settings of your consent plugin and look for a Microsoft or Bing consent option. Enable it if present.
Otherwise add the default in the header
Use a header scripts plugin or your theme's header to add the default snippet above the UET tag.
Hook the update to the banner
Add the update snippet so it runs on the plugin's accept event. Check the plugin's documentation for the event name.
Check how UET is installed
If you use the Microsoft Channel app or a custom pixel, find where the UET tag loads.
Use Customer Privacy settings
In Settings > Customer privacy, set your regions and banner. Custom pixels can read the customer's consent state and push the UET update when marketing is allowed.
Test in a private window
Confirm the default and update appear in
window.uetq.
Place the default first
Put the default snippet in the head, above the UET tag.
Call update from your banner
In your banner's accept and reject handlers, push the update with granted or denied.
Restore saved choices
On later page loads, read the stored choice and push the update right after the default.
Before
- No uetq consent default
- Tag fires regardless of choice, or is blocked entirely
- No update after Accept
After
- Default set before the UET tag
- Update sent when the visitor chooses
- Bing receives the visitor's choice
How to confirm it's fixed
- The default consent line appears before the UET tag in the page source or tag order
- On first load, bat.bing.com requests show ad storage as denied
- After Accept, a consent update with granted is pushed
- After Reject, no granted update is pushed
- A test conversion appears in Microsoft Advertising's UET tag status
- The choice is still applied on the next page
How to prevent it happening again
- Re-test after changing your banner, CMP or theme
- Keep the default snippet in a single place, such as one GTM tag
- Document which consent category controls UET
- Re-check after updating the Microsoft Ads or tag manager templates
- Run a test visit in each region you target
How FunnelGuard handles this
FunnelGuard detects this issue only partly. It runs your real customer journeys on a schedule and checks the tracking hits sent to ad platforms, including Bing. That shows you whether the Microsoft hit fires on the journey and whether it stops firing after a change, which is often the first sign that a banner or tag change broke UET.
What it does not do is judge whether your uetq consent default and update are correct for your legal setup, or whether the signal matches each visitor's choice. FunnelGuard also never bypasses consent banners or bot protection. Cover the rest by hand with the checks above: confirm the default comes before the tag, test Accept and Reject, and repeat after banner changes.
The Free plan covers 1 site and 2 journeys with daily checks and no card. Paid plans start at $39/month with a 3-day free trial. A free read-only website audit is also available.
Questions people ask
What is Microsoft UET consent mode?
It is a way to tell the Microsoft Advertising UET tag whether a visitor allows ad storage. You push a default and an update to window.uetq using the consent command with ad_storage set to granted or denied.
Why are my Bing Ads conversions missing after adding a cookie banner?
Your banner may block the UET tag until the visitor accepts, so nobody who declines or ignores it is counted. Set a UET consent default and send an update on choice, and confirm the tag fires correctly in each state.
How do I set the UET consent default?
Push window.uetq.push('consent','default',{'ad_storage':'denied'}) before the UET tag loads. In Google Tag Manager, fire this on the Consent Initialization trigger.
Does Google Consent Mode also cover Microsoft UET?
No. Google Consent Mode controls Google tags. UET has its own consent commands, although some CMPs and templates can pass the choice to UET. Verify that the signal reaches uetq.
How do I check if UET consent mode is working?
Open a private window, check window.uetq in the console and watch bat.bing.com requests in the Network tab. Test Reject and Accept and confirm the ad storage state changes.
Should the UET default be denied or granted?
For EEA, UK and Switzerland visitors, use denied until they opt in. For other regions, follow your legal advice and your banner's region rules.
Can FunnelGuard tell me if UET consent mode is set?
Only partly. It checks that the Bing tracking hit fires on your journeys, but it does not verify your consent default and update logic. Test those by hand.
Related issues
- TRK-282Consent banner shown but tags fire before any choiceFix guide
- TRK-285Consent Mode default state not set before tags loadFix guide
- TRK-288Consent update never sent after AcceptFix guide
- TRK-296CMP script fails to load, blocking all tagsFix guide
- TRK-298CMP categorises analytics tag wrongly (necessary vs marketing)Fix guide
- TRK-299Google-certified CMP not used (required for EEA ads)Fix guide