Track Microsoft Advertising (Bing Ads) conversions
Create a Bing Ads UET tag and conversion goal, then paste the tag on your Order Success page to track sales.
Adding Microsoft Advertising Conversion Tracking
Microsoft Advertising (formerly Bing Ads) is a pay-per-click advertising service that shows your paid listings in Bing, Yahoo and other Microsoft search results. An effective campaign can help you to attract visitors, increase sales, and improve your brand awareness. This article covers how to generate the conversion tracking code (a UET tag) and how to add the code to your store. For more information, see Microsoft Advertising's documentation.
Microsoft Advertising's screens have changedThe screenshots below are from an older version of Microsoft Advertising. The steps are the same, but the menus may look different: look for UET tag and Conversion goals under conversion tracking.
Generating the Conversion Tracking Code
-
Log into your Microsoft Advertising account. If you do not already have one, you'll need to create one.
-
Go to Campaigns › Conversion Tracking

- Click Get started to continue.

- Click Create UET tag and then enter a name.

- Copy the generated code tag. You can also Download and Email the tag if you wish to keep a copy. In the next section, we'll create a conversion goal to track visitor actions.

Creating a Conversion Goal
- Go to Campaigns › Conversion Tracking › Conversion goals.

- Click Create conversion goal to continue.

- Enter a name for your goal, and choose Destination URL. Then, click Next. See, How do I create a conversion goal to learn about the other types.

- For Destination URL, select Equals to. For the following step, you will need to use your store's Order Success URL

Example
Destination URL: https://myteststore.com/checkout/onepage/success/
- For Revenue Value select The value of this conversion action may vary (for instance, by purchase price). If no value is assigned, what should the default value be? change the currency to match your store and enter 0.

- Configure Count and Conversion window to your liking and then click Save.
Adding the Code to Your Store
-
Navigate to the Order Success page for your theme in the Visual Design Editor (VDE)\
-
Follow instructions here for Adding Conversion Tracking Scripts
-
Paste the script you copied in Step 5 above in the Generating Conversion Tracking Code section into the HTML block on your Order Success Page.
Add the following code to the snippet
<script>
window.uetq = window.uetq || [];
window.uetq.push({ 'gv': '[orderValue]' });
</script>- The full code snippet in the HTML block should look like this:

- Save & Publish your order success page.
Testing / Troubleshooting
Install Microsoft's UET Tag Helper browser extension, then place a test order and check that the tag fires on the order success page. Microsoft Advertising's help center explains how to use the UET Tag Helper.
Updated 4 days ago
