Microsoft Ads UET Tag Setup Guide: Complete Bing Conversion Tracking

Set up the Microsoft UET tag for Bing Ads conversion tracking. Covers GTM installation, conversion goals, audiences, offline conversions, and troubleshooting.

Microsoft AdsUET tagBing Adsconversion trackingGTM

Microsoft Ads (formerly Bing Ads) accounts for roughly 9% of search ad clicks in the US, but many advertisers skip conversion tracking entirely because they set up Google Ads first and never bother with the UET tag. That means Microsoft’s algorithm is bidding blind — no conversion signal, no optimization, just burning budget.

The Universal Event Tracking (UET) tag is Microsoft’s equivalent of the Google Ads global site tag. It goes on every page, tracks conversions, builds audiences, and feeds Smart Bidding. This guide covers the complete setup.

What the UET Tag Does

The UET tag is a single JavaScript snippet that:

  1. Tracks page loads — every URL visited on your site
  2. Reports conversions — purchases, leads, signups, whatever you define
  3. Builds audiences — remarketing lists based on behavior
  4. Measures revenue — dynamic values for ROAS bidding
  5. Enables auto-bidding — Target CPA and Target ROAS need conversion data

Unlike Google Ads, which has separate tags for conversion tracking and remarketing, Microsoft uses one tag for everything. Simpler architecture, fewer things to break.

Before You Start

You need:

  1. A Microsoft Ads account (sign up at ads.microsoft.com)
  2. Google Tag Manager installed on your site, or direct code access
  3. At least one campaign running or planned

If you’re also running Google Ads, you should have Google Ads conversion tracking set up first — not because it’s a dependency, but because most of your budget is probably there.

Step 1: Create Your UET Tag in Microsoft Ads

  1. Go to Microsoft Ads → Tools → UET tags
  2. Click Create UET tag
  3. Name it something clear: “Main Site UET” or “[Brand] UET”
  4. Click Save
  5. Copy the Tag ID (a numeric ID like 12345678)

You only need one UET tag per website. Unlike Google Ads where you might have separate conversion actions with separate tags, Microsoft uses one tag plus conversion goals defined in the platform.

Step 2: Install via Google Tag Manager

2a: Add the UET Tag

  1. In GTM, go to Tags → New
  2. Tag type: Microsoft Advertising Universal Event Tracking
  3. Enter your UET Tag ID from Step 1
  4. Set trigger: All Pages
  5. Save

That’s the base installation. Every page load now reports back to Microsoft Ads.

2b: Verify the Tag Is Firing

Three ways to check:

GTM Preview Mode:

  1. Enable Preview Mode in GTM
  2. Visit your site
  3. Look for the Microsoft UET tag in the “Tags Fired” panel

UET Tag Helper (Browser Extension): Microsoft provides the UET Tag Helper for Chrome/Edge. Install it, visit your site, and it shows whether the UET tag fired, what data it sent, and any errors.

Microsoft Ads UI: Go to Tools → UET tags. The status column shows:

  • Tag active — receiving data (may take up to 24 hours after installation)
  • Tag inactive — no data received (check installation)
  • Unverified — just created, waiting for first hit

2c: Add the UET Tag to All Environments

The UET tag should fire everywhere your ads might send traffic:

  • Main website
  • Landing pages (including Unbounce, Instapage, etc.)
  • Checkout flow (if on a separate domain)
  • Mobile site (if separate from desktop)

If you’re running cross-domain tracking in GA4, you likely need the UET tag on all those domains too.

Step 3: Create Conversion Goals

The UET tag tracks page loads. Conversion goals tell Microsoft which page loads (or events) count as conversions.

Destination URL Goal (Simplest)

For tracking thank-you pages, order confirmations, etc.

  1. Microsoft Ads → Tools → Conversion goals
  2. Click Create conversion goal
  3. Type: Destination URL
  4. Name: “Purchase” or “Lead Form Submit”
  5. URL match: Choose the operator
    • Equals to: exact URL match (https://yoursite.com/thank-you)
    • Begins with: prefix match (https://yoursite.com/order-confirmed)
    • Contains: substring match (thank-you)
    • Regular expression: pattern match (advanced)
  6. Set the Revenue value:
    • Fixed value (e.g., $50 per lead)
    • Variable (for ecommerce — see dynamic values below)
  7. Count: “Unique” for leads, “All” for purchases
  8. Save

Event Goal (For Custom Actions)

For tracking button clicks, form submissions, video plays, or any non-pageview action.

  1. Create a conversion goal with type Event
  2. Define the event by Category, Action, Label, and/or Value
  3. In GTM, create a custom event tag that sends these parameters

Here’s the GTM Custom HTML to fire a UET event:

<script>
  window.uetq = window.uetq || [];
  window.uetq.push('event', 'purchase', {
    'revenue_value': {{transactionTotal}},
    'currency': 'USD'
  });
</script>

Replace {{transactionTotal}} with your GTM variable for order value.

Dynamic Revenue Tracking (Ecommerce)

For variable-value conversions like purchases:

  1. Create a conversion goal with Revenue → Variable selected
  2. In GTM, add a Custom HTML tag on your confirmation page:
<script>
  window.uetq = window.uetq || [];
  window.uetq.push('event', 'purchase', {
    'revenue_value': {{transactionTotal}},
    'currency': '{{currencyCode}}'
  });
</script>
  1. Set trigger: Thank you page or purchase event

Platform-specific data layer variables:

PlatformRevenue VariableTransaction ID
Shopify{{Shopify - Order Total}}{{Shopify - Order ID}}
WooCommerce{{DL - transactionTotal}}{{DL - transactionId}}
Custom{{dataLayer transactionTotal}}{{dataLayer transactionId}}

If you’re on Shopify and conversions aren’t tracking correctly, the root cause is often the same one that breaks Google Ads — check our Shopify conversion tracking guide for platform-specific fixes.

Step 4: Build Remarketing Audiences

The UET tag automatically collects visitor data for audiences. You just need to define the segments.

Default Audiences to Create

AudienceRuleUse Case
All Visitors (30 days)Visited any page, last 30 daysBroad remarketing
Product ViewersURL contains /product/Mid-funnel retargeting
Cart AbandonersVisited /cart but NOT /thank-youHigh-intent recovery
ConvertersVisited /thank-youExclude from prospecting, build lookalikes
High-Value VisitorsVisited 5+ pagesEngaged audience for bidding boost

How to Create an Audience

  1. Microsoft Ads → Tools → Audiences
  2. Click Create audience → Remarketing list
  3. Name it clearly
  4. Define the rules (URL contains, visited pages, etc.)
  5. Set membership duration (30, 60, or 90 days)
  6. Save

Audiences need at least 300 members before you can target them. At low traffic volumes, start with “All Visitors” and get more specific as traffic grows.

Microsoft’s Enhanced Conversions work like Google’s Enhanced Conversions — you send hashed customer data (email, phone) alongside conversion events so Microsoft can match conversions even when cookies fail.

Enable in GTM

  1. Update your purchase event to include customer data:
<script>
  window.uetq = window.uetq || [];
  window.uetq.push('event', 'purchase', {
    'revenue_value': {{transactionTotal}},
    'currency': 'USD',
    'enh_ec_email': '{{hashedEmail}}',
    'enh_ec_phone': '{{hashedPhone}}'
  });
</script>
  1. Microsoft accepts SHA-256 hashed values. If your data layer provides plaintext, hash it first:
async function hashValue(value) {
  const encoder = new TextEncoder();
  const data = encoder.encode(value.trim().toLowerCase());
  const hash = await crypto.subtle.digest('SHA-256', data);
  return Array.from(new Uint8Array(hash)).map(b => b.toString(16).padStart(2, '0')).join('');
}
  1. Enable Enhanced Conversions in Microsoft Ads → Tools → UET tags → Edit → Enhanced Conversions → On

Step 6: Import Google Ads Conversions (Optional)

If you’ve already set up Google Ads conversion tracking and want the same goals in Microsoft Ads:

  1. Microsoft Ads → Import → Import from Google Ads
  2. Connect your Google Ads account
  3. Select campaigns to import
  4. Microsoft will also import conversion goals

This saves setup time but creates a dependency. If your Google Ads tracking breaks, Microsoft Ads tracking breaks too. For critical conversion actions, set them up natively in Microsoft Ads.

Troubleshooting

UET Tag Shows “Inactive”

CauseFix
Tag just installedWait 24 hours — Microsoft is slow to verify
GTM not publishedPublish your GTM workspace
Tag blocked by consentCheck your consent banner — UET needs the same consent as Google tags
Wrong tag IDVerify the tag ID matches your Microsoft Ads account

Conversions Not Counting

SymptomCauseFix
Zero conversionsGoal URL doesn’t matchCheck URL matching rules in conversion goal
Conversions counted but $0 revenueRevenue variable not firingVerify the UET event sends revenue_value
Duplicate conversionsNo dedup mechanismAdd transaction ID to the event (same as Google Ads)
Delayed conversionsNormal processing lagMicrosoft Ads can take 3-4 hours to report conversions

Conversion Numbers Don’t Match Google Ads

Microsoft Ads and Google Ads will always show different conversion numbers for the same campaigns. Different click windows, different attribution, different cookie handling. This is expected — the same way GA4 and Google Ads show different numbers.

Microsoft Ads vs Google Ads: Tracking Differences

FeatureMicrosoft Ads (UET)Google Ads
Tags needed1 (UET does everything)2+ (Conversion Linker + Conversion Tag)
AudiencesBuilt into UETSeparate remarketing tag
Enhanced conversionsSupportedSupported
Offline conversionsSupported (via import)Supported (via import)
Server-side trackingLimited (CAPI in beta)Mature (sGTM)
Attribution modelsLast click, last touchData-driven, last click, others
Conversion lag3-4 hours1-3 hours

Checklist

  • UET tag created in Microsoft Ads
  • UET tag installed via GTM on all pages
  • Tag verified as “Active” in Microsoft Ads
  • At least one conversion goal created
  • Revenue tracking set up for ecommerce
  • Enhanced conversions enabled
  • Remarketing audiences defined
  • First conversion visible in Microsoft Ads

The Quick Version

  1. Create a UET tag in Microsoft Ads, copy the Tag ID
  2. Add the Microsoft UET tag in GTM, firing on All Pages
  3. Create conversion goals (destination URL or event-based)
  4. Add revenue tracking for variable-value conversions
  5. Build remarketing audiences from visitor behavior
  6. Enable enhanced conversions for better match rates

Microsoft Ads is often cheaper per click than Google Ads, with less competition. But without conversion tracking, the algorithm can’t optimize — and you can’t measure whether that lower CPC actually translates to lower CPA.

Not sure if your conversion tracking is set up correctly across all platforms? Run a free scan — we check your UET tag, Google Ads tags, Meta Pixel, and more automatically.