NOTE-050 · FIELD NOTE FILED 19 NOV 2026 · REVISED 19 NOV 2026 F-101 F-302 F-201 F-204
Microsoft Advertising UET tag and conversion goals: setup order and checks for an ecommerce store.
ABSTRACT — How to set up Microsoft Ads conversion tracking for an online shop: consent first, one UET tag on every page, a purchase goal with variable revenue, and the checks that prove it against your own orders. Why it won't match Google Ads, and what to compare.
Baris Asa, tracking consultant, London · Last checked: November 2026
Microsoft Ads conversion tracking for an online shop is a short chain. Consent wired first, so Microsoft keeps counting UK sales and can model the visitors who decline. One UET tag (Microsoft’s Universal Event Tracking tag) on every page, installed one way only. One purchase goal created by hand, with revenue set to vary and the order value sent in the purchase event. Then a test against your own orders, not just the Tag Helper badge. It won’t match Google Ads exactly: a steady gap is normal, an exact double is a fault.The order matters. With no consent signal, Microsoft stops counting UET conversions for UK visitors, and its quick “simplified” goal setup can’t take variable revenue. Get either wrong and the goal reads zero, or reads every sale at the same default value. Each step below is from Microsoft’s own help pages, listed at the end.
Check yours first. In Microsoft Advertising, open Conversions, then Conversion goals:
- Tracking status “Unverified” or “Tag inactive”: no data is arriving from the tag.
- “No recent conversions”: the tag works, but nothing matched the goal.
- The same revenue on every sale: the goal is falling back to its default value; the real order value isn’t arriving (F-302 ).
- Two purchase goals with Include in “Conversions” ticked, or the tag on the page twice: the same sale counts more than once (F-101 ).
How to set up the UET tag and a purchase goal
- Write down what a purchase is worth. One definition, the same one Google Ads and Meta get: “the order total excluding VAT and shipping”, for example. A different value per platform is F-302 .
- Wire consent before anything fires. Microsoft recommends Advanced Consent Mode: UET loads before the visitor touches the banner, with
ad_storage(the consent setting for ad cookies) denied by default, then updated to granted when they accept. Basic mode, where the tag waits for consent, also sends a signal but models less precisely.ad_storageis the only value Microsoft enforces for now. - Use one consent method. UET Consent Mode or the IAB TCF (the consent standard some banners use), never both. Since 5 May 2025 Microsoft enforces a consent signal for visitors from the EEA, the UK and Switzerland; without one, UET conversions and remarketing lists stop. Set up properly, it keeps the count alive, and it’s a condition for Microsoft’s modelled conversions. How the banner drives every ad tag, not just Microsoft’s, is the job of /services/consent-mode (F-201 ).
- Create the UET tag. Conversions, then UET tag, then Create (older guides say Tools, then Conversion tracking). You get a tag ID. One tag for the site is the normal case.
- Install it on every page, one way only. Google Tag Manager, Shopify, or your site’s code (the three routes are below). Microsoft’s own list of over-counting causes starts with the same UET tag installed twice on the conversion pages. Moving to GTM? Remove the hard-coded tag first (F-101 ).
- Create the purchase goal by hand. Conversions, then Conversion goals, then Create, then Business website. The simplified setup detects events for you but doesn’t support variable revenue, so a shop uses manual setup. Category Purchase, type Event, event action
purchase. A Destination URL goal on the thank-you page can also take variable revenue. - Set revenue, count, windows and attribution. Revenue: “Conversion action value may vary”, with a default amount for conversions that arrive without one. Count: All for sales, Unique for leads. Conversion window: 30 days by default, from 1 minute to 90 days. View-through window: 1 day by default. Attribution: the help pages describe last ad click; since May 2026 Microsoft has been rolling out data-driven attribution to all advertisers, for campaigns on Maximize Conversions, Maximize Conversion Value or Enhanced CPC. Check which model the goal uses and write it down.
- Tick Include in “Conversions” for the purchase goal only. That box decides what automated bidding reads. Add to cart can be a goal too, unticked, so it shows only under All conversions.
- Send the value with the purchase. The event carries
revenue_valueandcurrency: currency in capitals (GBP, notgbp) and a full stop for decimals (54.20, not 54,20). Addtransaction_idwith the order number; it’s an optional parameter. Don’t count on it to remove duplicates: Microsoft’s page on conversion discrepancies says it currently doesn’t filter duplicate conversions.
window.uetq = window.uetq || [];
window.uetq.push('event', 'purchase', {
'revenue_value': 54.20,
'currency': 'GBP',
'transaction_id': '10452'
});
- Leave Microsoft Click ID on. Creating a goal switches on auto-tagging, which adds
msclkidto your landing page URLs; UET stores it in a first-party cookie. Microsoft says turning it off makes offline imports impossible and hinders conversion tracking. A redirect or payment page that drops the click ID does the same damage without asking (F-204 ): Do gclid and fbclid survive your checkout?.
Optional: enhanced conversions. Switch the goal to enhanced and add the customer’s email or phone to the event (pid). An unhashed email is hashed for you; a phone number has to be formatted on your side first.
Three ways to install it
| Route | What Microsoft documents | Watch for |
|---|---|---|
| Google Tag Manager | The Microsoft Advertising Universal Event Tracking template: one “UET config/page view” tag on All Pages, plus a purchase event tag reading the data layer | A second copy left in the theme |
| Shopify | Microsoft’s Shopify app (the Microsoft Channel app) adds UET to every page; or a custom pixel under Customer events with Microsoft’s sample code | The sample sets consent to granted on load |
| Site code | The base tag in every page, the purchase event on the confirmation page | Value read from a page element that changes with the template |
Google Tag Manager. Microsoft also offers a direct integration that builds the tags in your container from inside Microsoft Advertising. It can copy your GA4 event tags into matching UET tags; you can clear that checkbox. Either way, open the container afterwards and read what was added. The template can read GTM’s consent state from a supported banner. Its “Inherit initial consent” option is off by default; switch it on only if the tag loads after the visitor has already chosen.
Shopify. Microsoft’s Shopify page says its integration supports UET Consent Mode automatically, but its sample pixel code pushes ad_storage: granted as soon as the pixel loads. That line is only right if Shopify holds the pixel back until the shopper agrees: in the pixel’s settings, set Permission to Required, for marketing (Shopify: manage your custom pixels). Tag Helper will then warn “A UET event was fired from within an iframe”; Microsoft says that’s expected with Shopify’s sandbox and the events still arrive. What a Shopify pixel can and can’t see is filed in Shopify custom pixel and GTM: what the sandbox sees. If an app already sends the purchase, don’t add a pixel as well.
How to test it before bidding reads it
- UET Tag Helper, Microsoft’s extension for Edge and Chrome. Turn it on, reload, read the badge: green works, yellow works but could be better, red is broken, no badge means no tag found. The number counts requests, so a refresh raises it.
- Run the goal test. From Conversion goals, hover over the Tracking status and choose Test this conversion goal. Tag Helper follows you through the site and reports Conversion found or Problem encountered. On a test order, read the
revenue_valueand currency it shows. - Check consent in the browser console.
window.uetq.uetConfig.consent.enabledshould return true, andwindow.uetq.uetConfig.consent.adStorageAllowedfalse until the visitor accepts. In Tag Helper, theascparameter on the page load event reads G when granted, D when denied. - Wait 24 hours. A new tag or goal can take that long to show data.
- Remember the ad click. Microsoft counts nothing that didn’t follow its ad. A test order from your own bookmark proves the tag fires; it won’t show as a conversion. Microsoft’s own check is to click one of your ads, convert, and look again about three hours later.
- Compare with your orders. This needs the store to know which orders came from Microsoft Ads: the landing URL with
msclkid, or your UTM source, saved with the order or session. If your store doesn’t record it, that’s the first gap to fix. Microsoft reports conversions on the date of the click, so a store report by order date won’t line up day by day; compare 30 days or more and expect the edges to lag. The gap should be roughly steady. An exact double is F-101 . Revenue off by exactly the VAT is F-302 . A missing day is a tag that stopped: check the Tracking status.
Why it won’t match Google Ads
Each platform counts only sales after its own ad, with its own rules:
| Setting | Microsoft Advertising | Google Ads |
|---|---|---|
| Attribution | Last ad click; data-driven rolling out since May 2026 for Maximize Conversions, Maximize Conversion Value and Enhanced CPC | Data-driven, the default for most conversion actions |
| Conversion window | 30 days by default, 1 minute to 90 days | 30 days by default, up to 90 days |
| Duplicate orders | Not filtered: two installs or two matching goals count twice | A repeated transaction ID in the same action isn’t counted |
| Report date | The date of the ad click (view-through: the date of the impression) | Depends on the column: Conversions, or Conversions (by conv. time) |
Google sources: about attribution models, about conversion windows, transaction IDs and duplicate conversions. Microsoft also counts cross-device conversions where it can identify them, with no setup.
Microsoft’s own discrepancy checklist: the same goal definitions, the tags on the same pages, the same conversion window and counting (Unique or All), and the same reporting time zone. Add the attribution model to that list. How the Google side is set up, with one primary action per sale, is filed in Google Ads conversion tracking: tag, GA4 import or offline upload. When Meta joins and you have three totals, read Meta, GA4 and Google Ads: three purchase totals.
What goes on record after a setup
One line per goal, filed with the test order that proved it:
Purchase · Event goal (action = purchase) · Include in Conversions: yes · Count: All · Revenue: varies, order total ex VAT and shipping, GBP · Window: 30 days · Attribution: last click · UET via GTM, consent default denied · checked 19 Nov 2026
Next to it, the Tag Helper report and a month of goal data beside the store’s orders from Microsoft Ads clicks. Steps 2, 5 and 9 need someone who can edit the data layer (the order details your site hands to the tag manager), the tag manager and the banner. If revenue is the same on every sale, the count is doubled, or the goal reads zero a day after a real ad click, that’s the point to hand it over. I’m Baris Asa, a tracking consultant in London; I set this up and check it for UK ecommerce brands and their agencies, usually inside a tracking audit that covers the Microsoft and Google Ads tags together. The campaigns stay with whoever runs them.
Sources
Microsoft Learn (Microsoft Advertising help), read on 19 November 2026:
- How do I create a conversion goal? (manual and simplified setup; simplified has no variable revenue; revenue options; scope, count, window up to 90 days, view-through, Include in “Conversions”; Microsoft Click ID auto-tagging)
- What are conversion goals and goal types?
- How does conversion tracking work? (last ad click attribution; window 1 minute to 90 days, default 30 days; cross-device attribution)
- How to report variable revenue with UET (
revenue_value,currencyin capitals, decimal point) - Change how you count conversions
- Conversions versus All conversions
- What are view-through conversions? (default window 1 day)
- UET parameters table (
transaction_idoptional) - Set up UET tags using Google Tag Manager and direct integration
- Google Tag Manager template: Consent mode
- Set up UET tags using Shopify (custom pixel; Consent Mode support; iframe warning expected) and the Microsoft Channel app for Shopify
- FAQ: UET and user consent (default denied,
ad_storageenforced, Consent Mode or TCF not both, enforcement from 5 May 2025 for EEA, UK and Switzerland, console checks) - FAQ: Modeled conversions (Great Britain; Consent Mode; 700 ad clicks a week; confidence threshold)
- UET Enhanced Conversions
- Test conversion goals and audiences with UET Tag Helper
- Why am I not recording conversions or tracked revenue? (24 hours; tracking status; Test this conversion goal)
- Why do Microsoft Advertising conversion counts differ from Google Analytics and Google Ads? (click date; duplicate installs; duplicates not filtered; comparison checklist)
Microsoft Advertising blog, product news for May 2026 (data-driven attribution rolling out to all advertisers; bid strategies).
Google Ads Help, read on 19 November 2026: about attribution models, about conversion windows, use a transaction ID to minimise duplicate conversions. Shopify Help: manage your custom pixels.