Skip to main content

Microsoft Advertising (Bing Ads)

info

This is a pro feature. Get the pro version here

Setting up the UET tag

info

Microsoft Ads requires setting up a UET tag and a purchase conversion separately. You can skip this step, if you already have an active UET tag set up. We only need one active UET tag.

  1. Log into your Microsoft Advertising account.

  2. In the menu click > Tools > Conversion tracking > UET tag.

  3. Click > create UET tag.

  4. Give it some meaningful name like UET tag 1.

  5. Save it.

  6. In the next window Microsoft asks how you want to set up tagging. Choose Install the tag yourself.

  7. Then click next until the new tag shows up in the UET tag list.

  8. Copy that UET tag ID. In the Pixel Manager, open Tracking Pixels → Microsoft, paste it into the UET Tag ID field, and save.

    UET tag ID

Setting up the purchase conversion

We will set up a new purchase conversion goal, using a purchase event. It is different in the way, that we don't use a destination URL (like in most setup guides), but by using a purchase event. It is much less error-prone and works equally well.

  1. In the menu click > Tools > Conversion tracking > Conversion goals.
  2. Click > Create conversion goal.

Create conversion goal step 2

  1. What kind of conversions do you want to track? > Website

Create conversion goal step 3

  1. What type of goal do you want to set? > Purchase

Create conversion goal step 4

  1. Goal Type > Event

Create conversion goal step 5

  1. Edit event goal
  • Name: purchase
  • Revenue: Conversion action value may vary 0 USD (or the currency of your shop)

Keep the default settings for the advanced settings.

Create conversion goal step 6

  1. Enhanced Conversions
  • Choose Turn on Enhanced Conversions and check the box if you want to pass the email and phone number to Microsoft Ads.

    In the Pixel Manager, open Tracking Pixels → Microsoft and turn on Enhanced Conversions, then save.

    This is optional.

Enable Enhanced Conversions

  • Choose I don't want to turn on Enhanced Conversions if you don't want to pass the email and phone number to Microsoft Ads.

Disable Enhanced Conversions

  1. Set up tagging

    1. Choose the tag that you've set up earlier.
    2. Choose > Yes, the UET tag was already installed on all website pages when you created another conversion goal or audience list.
    3. Click Save and next

Create conversion goal step 7

  1. Choose Manual installation

Create conversion goal step 7

  1. Custom event parameters

    1. Set equals to and purchase
    2. Set track event on inline action
    3. Click Save and next

Create conversion goal step 8

  1. Done

Conversions API (CAPI)

info

This is a pro feature. Get the pro version here

The Conversions API is an optional addition to your UET tag that sends conversion data to Microsoft Advertising in real time through Microsoft's server-to-server protocol. This provides more accurate conversion tracking, especially for events that might be missed by browser-based tracking due to ad blockers or privacy settings. Purchases are triggered directly by WooCommerce order events, so they are tracked even when the customer never returns to the order confirmation page.

The Pixel Manager sends every event with a shared event ID to both the UET tag and the Conversions API, so Microsoft automatically deduplicates the two channels. The Microsoft click ID (msclkid) is captured on the landing page and attached to the server-side events for attribution, together with the UET visitor ID, the customer's IP address and the user agent. The events also carry the page context Microsoft uses for referral remarketing lists and dynamic remarketing: the page URL, the referrer, the page title, and the category on category pages.

Find more information on the Conversions API in the Microsoft Advertising documentation.

The token is tied to one UET tag, so make sure the UET tag ID is configured before you add the token.

  1. Open Microsoft Advertising: https://ads.microsoft.com/

  2. Browse to Tools > UET tag

  3. Select your existing UET tag using the pencil icon, then select Save and next

  4. In the Set up tagging section, select Use Conversions API

  5. In the Conversions API section, select Copy Token, then Next, then Done

  6. In the Pixel Manager, open Tracking Pixels → Microsoft, paste the token into the Conversions API Token field, and save.

Server-Side Proxy

You can offload Microsoft Advertising Conversions API calls from your WooCommerce server to the edge using the Server-Side Proxy. This reduces server load and improves tracking accuracy by routing events through a first-party subdomain.

Testing

Microsoft Advertising has no test event code for the Conversions API. Verify the events on the live tag instead:

  1. Open Tools > UET tag in Microsoft Advertising and check that the tag status shows recent activity
  2. Place a test order in your shop and confirm the conversion appears under Conversions
  3. Enable the Pixel Manager's debug mode to see the outgoing Conversions API requests in the WooCommerce logs

Enhanced Conversions

info

This is a pro feature. Get the pro version here

Enhanced Conversions for Microsoft Ads improves conversion attribution accuracy by sending hashed first-party customer data (such as email addresses) to Microsoft. This helps Microsoft match conversions more reliably, especially in cross-device and cookieless scenarios.

Benefits

  • Better attribution: Match conversions that would otherwise be lost due to cookie restrictions or cross-device journeys.
  • Privacy-safe: Customer data is hashed using SHA-256 before being sent to Microsoft.
  • Improved bidding: More accurate conversion data leads to better automated bidding performance.

How to Enable

  1. In Microsoft Ads, when creating or editing a conversion goal, select Turn on Enhanced Conversions (see step 7 in the setup guide above).
  2. In the Pixel Manager, open Tracking Pixels → Microsoft.
  3. Turn on Enhanced Conversions.
  4. Save the settings.

Enable Enhanced Conversions in the Pixel Manager

Once enabled, the Pixel Manager will automatically send hashed customer data (email, phone number if available) with conversion events to improve attribution accuracy. The same hashed values are attached to the Conversions API events as em and ph.

Supported Events

Here's a list of supported events.

Make more money from your ads with high-precision tracking