Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Microsoft UET consent mode not set: how to find and fix it

TRK-309Medium impactPartlyBy FunnelGuardPublished Updated
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.

Where Bing attribution is lost
  1. Bing ad clickVisitor lands with msclkid
  2. Consent bannerVisitor accepts or rejects
  3. UET consent signalNo default or update is sent
  4. UET conversionBlocked or tracked without respecting the choice
  5. Bing reportingConversions undercounted

Without a consent signal, UET cannot report correctly after the visitor's choice.

Bing conversions reportedExample numbers
Bing conversions reported (example)Actual: 100 conversions; UET blocked by banner: 55 conversions; UET with consent mode: 85 conversions038771005585ActualUET blocked by bannerUET with consent modeconversions

Example: 100 real Bing conversions in a month. Numbers are illustrative.

How to check if your site has it

Check by hand
  1. Open the page in a private window

    Use a fresh session so no earlier consent choice is stored.

  2. Look at the page source

    Search for uetq. Check whether a line with 'consent', 'default' appears before the UET tag code.

  3. Open the Network tab

    Filter for bat.bing.com. Note whether requests fire before you click anything on the banner.

  4. Choose Reject and reload

    In the console, type window.uetq and look for a consent entry. Check the bat.bing.com request for an ad storage parameter showing denied.

  5. Choose Accept

    Confirm a consent update is pushed with ad_storage set 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.

UET consent default, before the UET taghtml
<script>
window.uetq = window.uetq || [];
window.uetq.push('consent', 'default', {
  'ad_storage': 'denied'
});
</script>
Update after the visitor acceptsjavascript
window.uetq = window.uetq || [];
window.uetq.push('consent', 'update', {
  'ad_storage': 'granted'
});
Set it up on your platform
  1. 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.

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

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

UET consent handling

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

Confirmation checks
  • 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

Habits that keep it working
  • 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.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.