Bing Shopping for Shopify: Conversion and Revenue Tracking

This document covers adding proper Microsoft Ads conversion and revenue tracking code to your Shopify Store.

Track Conversions

  1. Login to your Shopify store
  2. Select Settings
  3. Select Checkout
  4. Scroll down to the Order Processing section and stop at Additional Scripts.
  5. Login to Microsoft Ads (in separate browser window/tab)
  6. Now in a separate web browser tab go to your Shopify Store Admin.
  7. Select Tools
  8. Select UET Tags under Conversion Tracking.
  9. Select view tag and copy it.
  10. Switch back to the Shopify Admin Tab, and paste the code in Additional Scripts.

Make sure to not paste the UET Tag code in the middle of any existing code. It does not matter if you paste it above or below any exiting code either.

At this point you are tracking conversions, but you’ll need to add an additional bit of code we developed to track the revenue associated with the conversions. Being able to pass this data back to Microsoft Ads is critical when optimizing you campaigns in Microsoft Ads.

Track Revenue

  1. Copy the code listed below under the UET tag you placed in Additional Scripts
  2. Finally select save.

<!-- Shopping Cart Apps: Passing conversion amount to Bing Ads UET Tag, checkout.subtotal_price = total dollar value of cart items - line-item discount  - cart discount (shipping is also not included) -->


window.uetq = window.uetq || [];

window.uetq.push({ 'gv': {{ checkout.subtotal_price | money_without_currency }} });


Your Shopify store is now all set to report conversions and revenue back to Microsoft Ads for all campaigns types available.