GA4 & Tracking

Microsoft Ads (Bing) Conversion Tracking with UET: A 2026 Guide

Microsoft Ads is easy to forget and easy to track badly. Here is how to set up UET conversion tracking properly with GTM, consent mode and revenue.

Quick answer

Microsoft Ads tracks conversions with the Universal Event Tracking (UET) tag. Install the UET tag through Google Tag Manager, create conversion goals for purchases or leads, send revenue on purchases, keep auto-tagging on so the msclkid is captured, and set UET consent mode before the tag fires. Do not rely on goals copied from Google Ads without checking them.

Key takeaways
  • UET is Microsoft's tracking tag; conversion goals are built on top of it.
  • Event-based goals with revenue are more reliable than destination-URL goals.
  • Auto-tagging adds the msclkid click ID that links conversions to ad clicks.
  • UET has its own consent mode, set with an ad_storage default before the tag loads.
  • Imported Google Ads campaigns do not bring working conversion tracking with them.

Microsoft Ads is often the second search channel for US businesses after Google Ads, and it is also the one with the weakest tracking. Many advertisers import their Google Ads campaigns into Microsoft Ads, assume conversions come along with them and never check. The result is campaigns optimising on no data at all. This guide shows how I set up Microsoft Ads conversion tracking properly.

How does Microsoft Ads conversion tracking work?

Microsoft Ads tracks conversions with the Universal Event Tracking (UET) tag, a script that records page views and events on your site. Conversion goals in Microsoft Ads then decide which of those page views or events count as conversions. Without a working UET tag, no goal can record anything.

When someone clicks an ad, auto-tagging adds a click ID called msclkid to the landing page URL. UET stores it, and when a conversion happens, Microsoft links it back to the ad click.

How do you install the UET tag?

The cleanest way is through Google Tag Manager, using the built-in Microsoft Advertising Universal Event Tracking tag template.

  1. In Microsoft Ads, go to Tools → UET tag and create a tag. Copy the Tag ID.
  2. In GTM, add a new tag using the Microsoft Advertising UET template, paste the Tag ID and set it to fire on all pages.
  3. Publish, then confirm with the UET Tag Helper browser extension that the tag loads and sends page views.

Avoid adding UET twice, for example through a platform app and GTM at the same time.

Which conversion goals should you create?

Create goals for the actions that matter to the business, and prefer events over URLs.

Goal type How it counts When to use it
Event A custom UET event, such as purchase or generate_lead Purchases, form leads, bookings (recommended)
Destination URL A visit to a page such as /thank-you Simple sites with a dedicated thank-you page
Duration / pages per visit Engagement thresholds Rarely useful for optimisation
Offline Conversions you upload later with the msclkid Leads that become customers later

For an event goal, send the event from GTM with the same UET tag type:

window.uetq = window.uetq || [];
window.uetq.push('event', 'purchase', {
  revenue_value: 2450,
  currency: 'USD'
});

In GTM you do not need to write this by hand: the UET template has a "custom conversion" option where you set the event action and revenue from your data layer.

How do you send revenue for purchases?

For ecommerce, always send the order value so Microsoft Ads can report return on ad spend and optimise for it.

  1. Make sure your data layer purchase event includes value and currency. My GA4 enhanced ecommerce checklist covers the structure.
  2. In the UET purchase tag, map revenue to the data layer value and currency to the currency code.
  3. In the Microsoft Ads goal, set revenue to "the value of this conversion action may vary".

UET consent mode is Microsoft's version of Google Consent Mode. It controls whether UET may read and write cookies, using a setting called ad_storage with a value of granted or denied.

  • Set a default before the UET tag loads, for example denied for visitors in the EEA, UK and Switzerland.
  • When the visitor accepts in your cookie banner, send an update to granted.
  • Many cookie banners (CMPs) and the GTM UET template can send these signals for you.
window.uetq = window.uetq || [];
window.uetq.push('consent', 'default', { ad_storage: 'denied' });

If you already run Google Consent Mode, map the same banner category to UET so both behave the same. My Consent Mode v2 guide explains the Google side.

What goes wrong after importing Google Ads campaigns?

Importing campaigns from Google Ads saves time, but check these points every time:

  • Each imported goal actually records conversions in Microsoft Ads
  • Auto-tagging is turned on, so msclkid appears on landing pages
  • Your site or forms do not strip unknown URL parameters, which would remove the msclkid
  • The goal's counting (all vs unique) and conversion window fit your business
  • Calls from ads are tracked, if phone leads matter to you

How do you test Microsoft Ads tracking?

  1. Open your site with ?msclkid=test123 added to the URL, and check that UET stores it.
  2. Trigger a purchase or lead and confirm in UET Tag Helper that the custom event fires with revenue.
  3. In Microsoft Ads, check the UET tag status and the goal status in Conversions. Goals can take a while to show as recording.
  4. After a week, compare Microsoft Ads conversions with your real orders or leads.

The free Tracking Checker also shows whether a UET tag is installed on your site, in the page or inside GTM.

Final thoughts

Microsoft Ads can bring cheaper clicks than Google, but only if its bidding sees real conversions. A clean UET tag, event goals with revenue and consent mode are usually a one-afternoon job. If you want it set up together with Google Ads and Meta, see my conversion tracking service.

Related
Chamok Mahonto
Written by Chamok Mahonto

I'm a conversion tracking & google ads specialist from Rangpur, Bangladesh. I set up GA4, GTM, server-side tracking and Meta Conversion API, and manage Google Ads for businesses worldwide. More about me

FAQ

Frequently asked questions

Is Microsoft Ads the same as Bing Ads?

Yes. Bing Ads was renamed Microsoft Advertising. Its ads show on Bing, Yahoo, DuckDuckGo results and Microsoft's partner network, and its tracking tag is called UET.

Can I import Google Ads conversions into Microsoft Ads?

When you import Google Ads campaigns, Microsoft Ads can bring over goal settings, but the tracking itself still needs the UET tag on your site. Always check that each goal records conversions after an import.

Does Microsoft Ads support offline conversions?

Yes. If you keep the msclkid with each lead, you can upload closed sales later as offline conversions, the same way you would for Google Ads.

Do I need UET consent mode outside Europe?

It is most important for visitors from the EEA, UK and Switzerland. If you only target other regions it is still good practice when you show a cookie banner.

Keep reading

Related articles

GA4 & Tracking

How to Set Up BigCommerce Tracking for GA4, Google Ads and Meta

BigCommerce offers native integrations and Script Manager. Here is how to combine them without double-counting purchases in GA4, Google Ads and Meta.

4 min read · November 2, 2026
GA4 & Tracking

Consent Mode v2 with Server-Side GTM and Meta CAPI: How It Works

Server-side tracking does not remove the need for consent. Here is how consent signals reach your server container and how to make every server tag respect them.

4 min read · November 2, 2026
GA4 & Tracking

Consent Mode v2 Explained: What Small Businesses Must Do

A plain-English guide to Google Consent Mode v2: the four signals, basic vs advanced mode, who needs it, and how to set it up and test it in GTM.

6 min read · October 30, 2026

Ready to fix your tracking and scale your ads?

Get a free audit of your tracking and ad account. Usually replies within 1–2 hours.