In this session we'll cover adding proper Microsoft Ads conversion and revenue tracking code to your Shopify Store.

Now let’s get started.

Track Conversions

  1. Login to Microsoft Ads.
  2. Now in a separate web browser tab go to your Shopify Store Admin
  3. Select Settings
  4. Select Checkout
  5. Scroll down to the Order Processing section and stop at Additional Scripts.
  6. Jump back to the Microsoft Ads tab and select Conversion Tracking.
  7. Select UET Tags
  8. Select View Tag of the tag you will be using.
  9. Select Copy, then copy the code.
  10. Switch back to the Shopify Admin Tab, and paste the code.

Just 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.
<!-- 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) -->

<script>

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

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

</script>
  1. Now go back to your Shopify admin tab and paste the revenue tracking code below the UET Tag code.
  2. Finally select save.
Did this answer your question?