In July 2023, Microsoft released UET Consent Mode. Four months later, Google introduced Consent Mode v2 and was the first to make implementation mandatory, setting a deadline of March 6, 2024.
Now, Microsoft is taking a similar approach.
On March 17, 2025, Microsoft informed all Microsoft Advertising clients using Universal Event Tracking (UET) in the EEA, UK, and Switzerland that they must implement UET Consent Mode by May 5, 2025.
With the deadline approaching, now is the time to update your UET setup. Follow this guide to make sure your tracking stays active.
How Microsoft UET consent mode works
Microsoft’s Universal Event Tracking (UET) tags are key to UET Consent Mode. They track user interactions and measure conversions – like purchases, sign-ups, or downloads – to show how well your ads are performing.
With Microsoft UET Consent Mode, UET tags adapt based on user consent settings for Microsoft Advertising (IAB vendor ID 1126). These settings affect how cookies work:
- If consent is granted: UET reads and writes both first-party and third-party cookies.
- If consent is denied: UET does not read first-party cookies. It only accesses third-party cookies for fraud prevention and spam detection – not for advertising.
This ensures tracking respects user privacy while still providing advertisers with key insights.
Why has Microsoft made UET Consent Mode mandatory?
Microsoft has made UET Consent Mode mandatory for three main reasons: compliance with the Digital Markets Act (DMA), General Data Protection Regulation (GDPR), and ePrivacy Directive.
These laws set strict rules for collecting and processing user data, requiring clear consent before tracking.
The Digital Markets Act (DMA)
The Digital Markets Act (DMA) is an EU regulation that applies to “gatekeepers” – large tech companies like Microsoft that operate major digital platforms. One of its key goals is to give users more control over their data by requiring clear consent before tracking and processing personal information.
Since Microsoft Advertising relies on data collected across its services (e.g., Bing, LinkedIn, Outlook) for targeted ads, it must comply with these rules. Making UET Consent Mode mandatory helps ensure compliance and shifts responsibility for obtaining consent to advertisers – while also reducing Microsoft’s legal risk.
The General Data Protection Regulation (GDPR)
The General Data Protection Regulation (GDPR) applies to all businesses processing personal data of EU residents and requires a valid legal basis for data collection – most often, user consent in digital advertising.
Microsoft Advertising tracks user interactions to improve targeting, measure conversions, and retarget users. Under GDPR, these activities can only happen with explicit consent. By enforcing UET Consent Mode, Microsoft ensures:
- Advertisers track only users who have opted in.
- Legal responsibility for consent shifts to advertisers.
- Reduced risk of GDPR violations and fines.
Without UET Consent Mode, Microsoft cannot legally track ad interactions or measure conversions for users who decline consent.
The ePrivacy Directive
The ePrivacy Directive governs how tracking technologies like cookies and pixels are used. While GDPR regulates how personal data is processed, ePrivacy focuses on when and how tracking begins – regardless of whether personal data is collected.
Microsoft Advertising relies on cookies and UET tags for tracking, conversion measurement, and retargeting. To comply with ePrivacy, Microsoft must ensure:
- No tracking before consent: Advertisers cannot load UET tags unless users opt in.
- Consent is clear and informed: Users must know what data is collected and why.
- Rejecting tracking is as easy as accepting: No dark patterns or tricky opt-out options.
UET Consent Mode helps Microsoft enforce these requirements by preventing tracking before consent, adjusting data collection based on user choices, and ensuring compliance with ePrivacy rules.
What happens if you don’t implement UET Consent Mode?
If you use UET but don’t implement Consent Mode before May 5, Microsoft Advertising will stop tracking UET-based conversions and updating your remarketing lists. This could hurt your campaign performance by disabling key tracking, targeting, and other features that rely on UET data.
To avoid disruptions and keep your campaigns running effectively, it’s crucial to comply with these requirements.
Guide: How to set up Microsoft UET Consent Mode with Cookie Information and Google Tag Manager
Below you’ll find two guides: a video guide and a written guide. Both guides walk you through the steps needed to set up Microsoft Universal Event Tracking (UET) with Cookie Information.
Here are a few things to know before you start:
The guides use the following tag template and a variable template created by the Google Tag Manager community:
- Microsoft UET Consent Mode tag by Markus Baersch (in German)
- Cookie Information Consent State variable by Gunnar Griese
You’ll also need to add the official Microsoft Advertising (UET) tag.
To configure the UET tag, you’ll need to add a Cookie Information consent banner, using the GTM tag template or by adding the banner directly to the website’s source code.
Video guide
Written guide (step-by-step)
Step 1: Add the Microsoft UET tag
1.1) Log in to your Google Tag Manager account.
1.2) Go to Menu > Tags and click New.

1.3) Click Tag Configuration.
1.4) Search and select Microsoft Advertising Universal Event Tracking (UET).
1.5) Enter your Microsoft Advertising UET ID.

1.6) In Track type select page view (required).
1.7) In Consent settings, make sure Enable consent updates from GTM and Inherit initial consent from GTM are unchecked.

1.8) In Triggering, select Page View.

1.9) Click Save.
1.10) Go to Templates > Tag Templates.
1.11) Click Search Gallery.
1.12) In Community Template Gallery, find and select Cookie Information + Consent Mode v2.

Note: Make sure you used our updated tag template, not the old one:

1.13) In Variable Templates, Click Search Gallery.
1.14) Find and select Cookie Information Consent State.
Note: You need to set up these two templates to manage consent and read consent signals.
1.15) Go to Tags, click New.
1.16) In Tag Configuration, find and select Cookie Information + Consent Mode v2.
1.17) Select Add Cookie Information Consent Banner.
Step 2: Set up Microsoft UET Consent Mode
This part of the tutorial assumes you’ve already set up Google Consent Mode. If you haven’t please refer to our guide.
2.1) In Triggering, choose Consent Initialization – All Pages.

2.2) Click Save.
2.3) Go to Templates > Search Gallery.
2.4) Search and select Microsoft UET Consent Mode.

2.5) Click Add to a workspace.
2.6) Go Variables > User-Defined Variables.
2.7) Click New.
2.8) Select Cookie Information Consent State.

2.9) In Consent Type, select cookie_cat_marketing.

2.10) Click Save.
2.11) (Optional) You can rename the variable ad_storage.

Note: This will be either true or false, depending on whether the user has declined or accepted cookies.
2.12) Click Save.
2.13) Go to Tags, click New.
2.14) Search for and select Microsoft UET Consent Mode.

2.15) In Consent command, set default.
2.16) In Wait for Update, set 15000 milliseconds (15 seconds).

2.17) In ad_storage status, set denied.
2.18) (Optional) Select Set Clarity Consent.

Note: Select Set Clarity Consent if you’re using Microsoft Clarity.
2.19) In Triggering, choose the trigger Consent Initialization – All Pages.
2.20) Rename the tag Microsoft UET Consent Mode – default.
2.21) Click Save.
2.22) In Tags, click New.
2.23) In Tag Configuration find and select Microsoft UET Consent Mode.

2.24) In Consent command, select update.
2.25) In ad_storage status choose {{ad_storage}}.
Note: The {{ad_storage}} variable is the Cookie Information Consent State variable template.
2.26) (Optional) Select Set Clarity Consent.
Note: Select Set Clarity Consent if you’re using Microsoft Clarity.
2.27) In Triggering, click Choose a trigger.
2.28) Click the + plus icon.
2.29) In Trigger Configuration, search and select Custom Event.
2.30) In Event name, type cookie_cat_necessary.

2.31) Click Save.
2.32) Rename the tag Microsoft UET Consent Mode – update.

2.33) Click Save.
All set!
FAQ: Microsoft UET Consent Mode
What is Microsoft UET?
How can Microsoft UET help me?
UET allows you to track website actions like purchases, sign-ups, and downloads. This data helps improve ad targeting, measure campaign effectiveness, and refine your marketing strategy.
What is Microsoft UET Consent Mode?
Is Microsoft UET Consent Mode mandatory?
Yes. If you use Microsoft Advertising in the EEA, UK, or Switzerland, you must implement UET Consent Mode to continue tracking conversions and using remarketing features.
When is the deadline for implementing Microsoft UET Consent Mode?
What happens if I don’t comply with UET Consent Mode?
If you don’t implement UET Consent Mode, Microsoft Advertising will stop tracking conversions and updating remarketing lists, which could impact your campaign performance.