Microsoft Ads conversion tracking with Google Tag Manager

Updated: Tuesday, July 7, 2026

Microsoft Ads conversion tracking lets you measure the important actions taken on your site after a click on your ads. With Google Tag Manager, you can set up this tracking more easily, without directly modifying the website code.

In this article, we will see how to configure Microsoft Ads conversion tracking with Google Tag Manager, create a UET tag, send page views and check that conversions come through correctly. The goal is to help you obtain more reliable data to analyse and optimise your campaigns.

In short

Microsoft Ads conversion tracking lets you measure the actions that really create value on your site in order to optimise your campaigns with more reliable data.

Why set up Microsoft Ads conversion tracking?

Microsoft Ads (formerly Bing Ads) notably lets you create Search campaigns the same way as on Google Ads. Generally, advertising on Microsoft Ads is cheaper than on Google Ads because fewer advertisers take part in the auctions. This ad network can therefore represent an opportunity for your business, provided there is demand on the keywords you want to target.

As with Google Ads, your performance depends on quality conversion tracking, which is the foundation of a successful advertising campaign.

Without reliable tracking, it becomes hard to know which campaigns, keywords or ads really generate results. You can get clicks, traffic and impressions without understanding what actually contributes to your sales or your leads.

A conversion is an important action generated by the visitors of your website, such as a product purchase or the completion of a contact form.

Conversion tracking in Microsoft Ads relies mainly on the UET tag, for Universal Event Tracking. This tag lets you track the visits and important actions taken on your site, then send this data to Microsoft Ads.

Google Tag Manager then lets you centralise this configuration. You can create your tags, define your triggers and adjust your tracking without having to work directly in the site code for every change.

Tutorial: how to configure Microsoft Ads conversion tracking with Google Tag Manager?

Now that the basics are in place, let’s move on to the configuration of Microsoft Ads conversion tracking. The goal is to create a UET tag, install it with Google Tag Manager, then check that page views and conversions are properly sent to Microsoft Ads.

Create the UET tag in Microsoft Ads

The first step is to create the UET tag in Microsoft Ads. It is this tag that will then serve as the basis for sending page views and conversions from your site to the ad network.

Go to Microsoft Ads, hover over the Conversions menu then click on UET tag. Then click the Create button.

Create a UET tag on Microsoft Ads
Create a UET tag on Microsoft Ads

Give your UET Tag a name, here I call it My New UET Tag. Then select the Install the tag yourself option.

UET Tag installation option
UET Tag installation option

Good to know

At the next step, Microsoft offers you a script to install on your site. We will do this step with Google Tag Manager later, so don’t worry about it.

Congratulations, you have just created your UET tag!

UET tag created
UET tag created

At this stage, your UET Tag has the Unverified status because no data is coming through to Microsoft Ads yet. This is normal: the tag has just been created but is not yet triggered on your site. In the next section, we will send page views to the UET tag with Google Tag Manager so that Microsoft Ads starts receiving data.

UET tag status
UET tag status

Send page views to the UET tag with Google Tag Manager

This step lets you install the UET tag on all the pages of the site. The goal is to send page views to Microsoft Ads in order to activate data collection before configuring the conversion events.

Go to Google Tag Manager, in the Tags section of your container click on New.

Create a new tag in GTM
Create a new tag in GTM

Then look for the Microsoft Advertising Universal Event Tracking tag in the Choose tag type section.

Good to know

This tag is not available in the community template gallery. It is a native Google Tag Manager tag, just like the Google Analytics or Google Ads tags. You can therefore select it directly from the tag types offered by GTM.

Search for the Microsoft Advertising Universal Event Tracking tag in Google Tag Manager
Search for the <b>Microsoft Advertising Universal Event Tracking</b> tag in Google Tag Manager

Once you have selected the tag, you can move on to its configuration.

Configuration of the Microsoft Advertising Universal Event Tracking tag in Google Tag Manager
Configuration of the <b>Microsoft Advertising Universal Event Tracking</b> tag in Google Tag Manager

The principle is simple: Google Tag Manager must know which UET tag to send the data to. To do this, you need to enter your UET Tag ID, then keep the tracking type suited to sending page views.

  1. The UET Tag ID: this identifier is to be retrieved in the All tags section on Microsoft Ads.
  2. Track type: here we install the base code, so you can leave this setting as it is.
Get the UET Tag ID in Microsoft Ads
Get the UET Tag ID in Microsoft Ads

Copy the identifier shown in the Tag ID column, then paste it into the corresponding field of your tag in Google Tag Manager.

Then trigger this tag on all pages.

Trigger the Microsoft Advertising Universal Event Tracking tag on all pages
Trigger the Microsoft Advertising Universal Event Tracking tag on all pages

This global trigger is important: it lets Microsoft Ads receive page views across the whole site, which will then serve as the basis for Microsoft Ads conversion tracking.

Check the sending of page views with the UET Tag Helper

Before publishing your changes, it is important to check that the UET tag triggers correctly. We first check the trigger in Google Tag Manager’s Preview mode, then the sending of the data with the UET Tag Helper extension.

In your GTM container, click on Preview to launch preview mode. You can then check that the tag has triggered correctly thanks to the Succeeded label.

Check the trigger of the Microsoft Advertising Universal Event Tracking tag in the GTM preview
Check the trigger of the Microsoft Advertising Universal Event Tracking tag in the GTM preview

This first check confirms that the tag triggers properly in Google Tag Manager. Now you need to check that the data is actually received on the Microsoft Ads side.

To check the sending of the data to the UET tag, I recommend using the UET Tag Helper extension.

Check the sending of events with the UET Tag Helper
Check the sending of events with the UET Tag Helper

If you do see the Page Load Event, your tag works correctly and sends data to Microsoft Ads.

In the Microsoft Ads interface, our UET Tag has moved from the Unverified state to the Tag active state.

The UET Tag is now active
The UET Tag is now active

By clicking on the UET Tag, you can get more information. Here we can see for example that 10 Page Load events have been received and that the Tracking Status is active.

Events received in Microsoft Ads
Events received in Microsoft Ads

Congratulations, you are now sending page views to Microsoft Ads. The ad network is therefore able to determine whether a visitor comes from a Microsoft Ads advert or not.

At this stage, the base of the tracking is in place. It now remains to create a conversion goal in Microsoft Ads to measure the important actions taken on your site.

Create a conversion goal in Microsoft Ads

After installing the UET tag, you need to tell Microsoft Ads which actions should be counted as conversions. It is this step that then lets you measure purchases, leads or other important goals in your reports!

A conversion goal is an important event (also called a macro-conversion) that happens on your site, such as a purchase or the submission of a contact form.

In this tutorial we will create a purchase conversion goal in Microsoft Ads as an example. You can of course adapt this configuration to your own goal: quote request, sign-up, appointment booking or submitted form.

Go to Conversions > Conversion goals then click on Create.

Button to create a conversion goal in Microsoft Ads
Button to create a conversion goal in Microsoft Ads

In the conversion type, select Website.

Then select Purchase as the goal category (or another one if you don’t want to track a purchase event) then Event as the conversion type.

The choice of the Event type is important here, because we will then send the conversion event from Google Tag Manager via the UET tag.

Configuration of the conversion type in Microsoft Ads
Configuration of the conversion type in Microsoft Ads

We will now configure the goal.

Configuration of the goal in Microsoft Ads
Configuration of the goal in Microsoft Ads
  1. Name: the name of the conversion goal. Choose a clear name, for example “Purchase”, “Form submitted” or “Quote request”, so you can easily find your goal in Microsoft Ads.
  2. Revenue: here put Conversion value may vary for a purchase or Each conversion action has the same value for lead generation.
    • For a purchase you can enter your average order value (Average Order Value)
    • For a lead you can enter the average value of a lead

Then enter the Event Action, here purchase is set by default. This value is important: it will have to be reused exactly the same in Google Tag Manager so that Microsoft Ads correctly associates the event sent with your conversion goal.

Event Action in Microsoft Ads
Event Action in Microsoft Ads

Congratulations, you have finished creating your conversion goal in Microsoft Ads!

Send a Microsoft Ads conversion with the UET Tag

Now that the conversion goal is created, you need to send the corresponding event from Google Tag Manager. It is this step that lets you make the link between the goal defined in Microsoft Ads and the event actually triggered on your site.

In Google Tag Manager, create a new Microsoft Advertising Universal Event Tracking tag. In the Track type menu, select Define your own. Enter purchase as the Event Action, reusing exactly the same value as the one configured in the Microsoft Ads conversion goal.

Configuration of the purchase Microsoft Ads event in Google Tag Manager
Configuration of the purchase Microsoft Ads event in Google Tag Manager

CJS Variable - ms_items

function() {
  var items = {{DLV - ecommerce.items}};
  var ms_items = [];

  if(items && items.length > 0) {
    items.forEach(function(item) {
      ms_items.push({
        id: item.item_id,
        price: item.price,
        quantity: item.quantity,
        brand: item.item_brand,
        category: item.item_category,
        list_name: item.item_list_name,
        list_position: item.index,
        variant: item.item_variant,
        location_id: item.location_id
      })
    });
  }

  return ms_items;
}

CJS Variable - pid

function() {
  return {
    email: {{DLV - email}},
    phone_number: {{DLV- phone}}
  }
}

You can also provide additional information to Microsoft Ads if you have it available in your Data Layer via the Define your own event parameters section. These parameters let you enrich the conversion event with information such as the value, the currency, the purchased products or certain user data depending on your configuration.

Good to know

For advanced users, I have made available the events and parameters tables that can be sent to Microsoft Ads at the end of this article. They let you go further with Microsoft Ads conversion tracking, especially for e-commerce configurations or more advanced tracking plans.

Check the sending of a conversion with the UET Tag Helper

Once the conversion event is configured in Google Tag Manager, you need to check that it is properly sent to Microsoft Ads with the right parameters.

To check the sending of the data to the UET tag, I recommend using the UET Tag Helper extension.

Checking the sending of a conversion with the UET Tag Helper
Checking the sending of a conversion with the UET Tag Helper

In UET Tag Helper, check in particular that the Event action matches the value configured in Microsoft Ads. In our example, we should find purchase, as well as the parameters associated with the conversion such as the value, the currency or the purchased products if you sent them.

If the conversion event appears correctly in UET Tag Helper, your Microsoft Ads conversion tracking is properly configured for this goal. You can now publish your changes in Google Tag Manager.

Going further with advanced Microsoft Ads conversion tracking

The previous configuration already lets you track a conversion in Microsoft Ads. To go further, you can also send additional parameters in order to enrich the data sent to the ad network.

Sending user data is done via the pid parameter, as we did earlier for our purchase event. This parameter can for example contain an email address or a phone number if this information is available in your Data Layer.

The object expected for this parameter must be built like this:

{
    email: "[email protected]",
    phone_number: "+33658478547"
}

Good to know

User data must be sent in clear text; the UET Tag will take care of hashing it before sending it to Microsoft Ads.

Before sending this type of data, however, check that your consent configuration is properly suited to your context and your data collection obligations.

You can also provide this data to the UET Tag ahead of sending the events, in the page view tag. This can be useful if you want this information to be available for several events, without having to resend it manually in each conversion tag.

Sending user data via the page view tag
Sending user data via the page view tag

After sending the advanced parameters, there is one essential point left to address: consent management. For Microsoft Ads conversion tracking to work correctly in a GDPR context, you also need to configure the UET Consent Mode.

The UET Consent Mode lets you adapt the behaviour of the UET tag according to the user’s consent choice. This configuration is particularly important for sites that target users in France or, more broadly, in the European Economic Area.

The consent mode of the UET Tag works like that of Google Ads, except that it comprises a single consent signal: ad_storage. This signal has two possible values: granted or denied.

This signal can be set up via two modes: default at page load and update after the user’s consent has been collected.

In the European Economic Area, the consent mode is forced to denied in default mode. This means that if you don’t configure the UET Consent Mode, all your requests will go out as denied. If your IP address is in a European Economic Area country, you will therefore see this type of request:

Default consent forced to Denied for the UET Consent Mode in the European Economic Area
Default consent forced to Denied for the UET Consent Mode in the European Economic Area

This means that, without specific configuration, Microsoft Ads may receive limited signals for users located in the European Economic Area. Setting up the UET Consent Mode therefore lets you send a cleaner consent signal, based on the choice actually expressed by the user.

To configure the UET Consent Mode, you can use Simo Ahava’s tag and tick the Enable Microsoft Consent Mode box. This tag lets you manage the consent commands directly from Google Tag Manager, notably by sending an update signal after the user’s choice in your CMP.

Configuration of the UET consent mode with Simo Ahava's tag
Configuration of the UET consent mode with Simo Ahava's tag

Once this configuration is in place, remember to test the consent behaviour in Preview mode in Google Tag Manager. The goal is to check that the ad_storage signal properly switches to granted or denied depending on the consent given by the user.

For advanced users: Microsoft Ads events and parameters tables

This section is aimed at more advanced users who want to go further with the configuration of Microsoft Ads conversion tracking. You will find the main events and parameters that can be sent to Microsoft Ads depending on your use case.

These tables can help you build a more complete tracking plan, especially for an e-commerce, hotel or travel site.

General Microsoft Ads events and associated parameters

Let’s start with the general events, which can apply to most websites. They let you send basic information to Microsoft Ads, such as page views and the parameters associated with navigation.

Events description

Event nameAssociated parameters
page_viewpage_title, page_location, page_path, rep, tpp, gtm_tag_source, pid

Good to know

You can also send a custom event name while adding the parameter(s) listed in the following sections. This lets you adapt the tracking to the specific actions of your site, without limiting yourself to the examples shown in these tables.

Parameters description

The parameters below let you enrich the events sent to Microsoft Ads with additional information about the page, the user or the navigation context.

Tag parameterExample
page_titleExample Title
page_locationhttps://example.com
page_path/example
event_labelLabel
event_categoryShoes
revenue_value99
search_termsummer shoes
pid{ email: "[email protected]", phone_number: "+33648754898" }
tpp1
gtm_tag_source

For an e-commerce site, Microsoft Ads conversion tracking is not limited to the final purchase alone. It can also be useful to track the key steps of the purchase funnel, such as adding to cart, starting the checkout, adding payment information or a refund.

E-commerce events description

The table below lists the main e-commerce events that can be sent to Microsoft Ads. These events help you better understand user behaviour before the final conversion and enrich your tracking based on the data available in your Data Layer.

Event nameRecommended parameters
add_payment_infoFree
add_to_cartrevenue_value, currency, items
add_to_wishlistrevenue_value, currency, items
begin_checkoutrevenue_value, currency, items, coupon
checkout_progressrevenue_value, currency, items, coupon, checkout_step, checkout_option
exceptiondescription, fatal
generate_leadrevenue_value, currency, transaction_id
loginmethod
purchasetransaction_id, revenue_value, currency, tax, shipping, items, coupon
refundtransaction_id, revenue_value, currency, tax, shipping, items
screen_viewscreen_name
remove_from_cartrevenue_value, currency, items
searchsearch_term
select_contentitems, promotions, content_type, content_id
set_checkout_optioncheckout_step, checkout_option
sharemethod, content_type, content_id
sign_upmethod
view_itemitems
view_item_listitems
view_promotionpromotions
view_search_resultssearch_term

Once the e-commerce events are defined, you can complete them with associated parameters. These parameters give Microsoft Ads more context, for example about the order value, the currency, the purchased products or the coupon used.

E-commerce parameters description

Here are the main e-commerce parameters that you can send to Microsoft Ads depending on the data available in your Data Layer:

Parameter nameExample
items[{ id: 123, brand: "Nike", category: "Shoes", creative_name: "summer", create_slot: "home_1", list_name: "Summer shoes", list_position: 5, location_id: 487, name: "Red summer shoes", price: 97.99, quantity: 1, variant: "Red" }]
promotions[{ creatve_name: "Summer shoes", creative_slot: "home_3", id: "45645", name: "s_shoes" }]
currencyEUR
affiliationmy_best_partner
tax2.8
shipping3.99
couponSUMMER
transaction_id25646413
checkout_optionCard
checkout_step4
content_id134648
content_typeProduct
descriptionThe associated value has the wrong format
fataltrue
methodGoogle SSO

The following parameters can be used in combination with the previous parameters to use the dynamic remarketing features of Microsoft Ads in an e-commerce context. They notably let you enrich the signals sent to the network based on the products viewed, added to cart or purchased.

Parameter nameExample
ecomm_pagetypePossible values: home, searchresults, category, product, cart, purchase, other
ecomm_prodid["123", "456"] or "123"
ecomm_totalvalue48
ecomm_queryred shoes
ecomm_categoryShoes
ecomm_exp

For hotel sites, certain specific parameters let you send Microsoft Ads information related to the booking or the booking intent. This data can for example concern the stay dates, the length of stay, the total price or the type of page viewed.

Parameter nameExample
hct_base_price448
hct_booking_xrefID001
hct_checkin_date2025-01-14
hct_checkout_date2025-01-20
hct_length_of_stayValue from 0 to 30 - 6
hct_partner_hotel_id489454165
hct_total_price485
hct_pagetypePossible values: home, searchresults, offerdetail, conversionintent, conversion, property, cart, purchase, cancel, other

These parameters are mainly useful to enrich Microsoft Ads conversion tracking in a hotel context, especially if you want to analyse more precisely the bookings, the booking intents or the performance of your campaigns by page type.

For travel players, certain parameters let you send Microsoft Ads information related to the destination, the travel dates, the type of page viewed or the total value of the trip or flight. This data can be useful to enrich Microsoft Ads conversion tracking and better analyse campaign performance based on the searches or bookings made.

Parameter nameExample
travel_destid5645448
travel_originid4878546
travel_pagetypePossible values: home, searchresults, offerdetail, conversionintent, conversion, cancel, other
travel_startdate2025-01-14
travel_enddate2025-01-14
travel_totalvalue489
flight_destid4654556
flight_originid7897564
flight_pagetypePossible values: home, searchresults, offerdetail, cart, purchase, cancel, other
flight_startdate2025-01-14
flight_enddate2025-01-14
flight_totalvalue478

These parameters are particularly useful if you want to structure more advanced tracking for campaigns related to travel, flights or stays. As with the other verticals, the goal is to send only the information that is actually available in your Data Layer and relevant to your marketing analysis.

FAQ - Microsoft Ads conversion tracking with Google Tag Manager

Yes, Microsoft Ads currently offers a conversion API in beta. This approach can be useful to improve the reliability of Microsoft Ads conversion tracking, better control the data sent and limit some losses linked to ad blockers or browser restrictions. Check out this documentation to learn more.
The UET Tag Helper extension may not work even if the tracking is implemented correctly. When in doubt, you can check in the Network tab of Chrome Dev Tools whether requests are sent to Microsoft Ads. You should also check that the UET Tag ID is correct and that the tag is actually triggered on the tested page.
A page view lets Microsoft Ads know that a visitor viewed a page of your site after the UET tag was installed. A conversion corresponds to a more important action, such as a purchase, a contact request or a sign-up, that you want to measure in your campaigns.
Yes, you can track several Microsoft Ads conversions with Google Tag Manager. You just need to create several conversion goals in Microsoft Ads, then send the right events from GTM with the corresponding Event Actions.
The principle is similar: you install a tag, you create a conversion goal and you send the important events from your site. If you also use Google Ads, you can complete your reading with the article Advanced Google Ads conversion tracking, which explains how to improve conversion measurement with Google Tag Manager and user data.
Even though Microsoft Ads conversion tracking can be configured with Google Tag Manager, the setup quickly becomes more complex as soon as you need to handle several events, e-commerce parameters, the UET Consent Mode, a CMP or server-side tracking! If you want to delegate the configuration, the audit or the optimisation of your Microsoft Ads tracking, I can support you as a freelancer to set up reliable, compliant and usable tracking for your campaigns. Feel free to contact me.

Let's talk about your tracking

A question about this article, need an audit of your setup or server-side migration? Drop me a line, I reply within 24h.