Microsoft Ads Conversion Tracking for Shopify: A Step-by-Step Setup Guide
If you’re running Microsoft Ads (formerly Bing Ads) without verified conversion tracking on your Shopify store, you’re essentially flying blind. You can see clicks and spend, but you have no reliable signal for which campaigns, keywords, or audiences are actually driving purchases. The result is wasted budget and missed optimization opportunities.
The good news: Microsoft Ads conversion tracking for Shopify is straightforward once you understand the two moving parts — the Universal Event Tracking (UET) tag and the conversion goal. This guide walks you through both, covers the most common setup mistakes, and explains how to verify everything is firing correctly before you trust the data.
What Microsoft Ads Conversion Tracking Actually Requires
Microsoft Ads uses its own pixel system called the Universal Event Tracking (UET) tag. Unlike Google’s gtag or Meta Pixel, UET is a single base tag that you install site-wide. Then, separately, you define conversion goals inside Microsoft Ads that tell the platform which UET events to count as conversions.
For a Shopify store, you typically need:
- The UET base tag — installed on every page of your store.
- A purchase conversion goal — configured in Microsoft Ads to fire on the Shopify order confirmation page (
/thank_youorcheckouts/*/thank_you). - Revenue tracking — optional but strongly recommended, so Microsoft Ads can report actual order values, not just conversion counts.
Without all three working together, you’ll either see no conversions or inaccurate data.
Step 1: Create Your UET Tag in Microsoft Ads
Log in to Microsoft Ads and navigate to Tools → UET tags. Click Create and give the tag a descriptive name (e.g., “Shopify Store – UET”). Save it, and Microsoft will generate a JavaScript snippet.
Copy the full UET tag code. You’ll need it in the next step.
Don’t create multiple UET tags for the same property. A common mistake is generating a new tag every time someone troubleshoots, leaving several tags firing simultaneously and inflating conversion counts.
Step 2: Install the UET Tag on Shopify
Shopify gives you two clean methods:
Option A — Shopify’s Google & YouTube App / Custom Pixel (Recommended for Shopify 2.0 stores)
In your Shopify admin, go to Settings → Customer events → Add custom pixel. Name it “Microsoft Ads UET” and paste the UET base tag script into the code field. Set it to fire on All pages. Save and connect it.
Custom Pixels in Shopify run in a sandboxed environment, so double-check Microsoft’s current documentation to confirm the UET tag is compatible with Shopify’s sandbox — pixel compatibility has been an evolving area.
Option B — theme.liquid (Works on all Shopify themes)
In your Shopify admin, go to Online Store → Themes → Edit code. Open theme.liquid and paste the UET tag just before the closing </head> tag. Save. This ensures the tag loads on every page.
This method is straightforward and reliable. The downside is that theme updates can occasionally overwrite custom code if you’re not careful, so document that you’ve made this edit.
Step 3: Create a Purchase Conversion Goal in Microsoft Ads
Back in Microsoft Ads, go to Tools → Conversion goals → Create. Choose Website as the conversion type.
Configure the goal as follows:
- Category: Purchase
- Goal name: Something clear like “Shopify Purchase”
- Conversion value: Select Variable — this lets you pass the actual order value dynamically (covered in the next step).
- Count: Choose One (count one conversion per visit, not every event fire) — this prevents order confirmation page refreshes from inflating numbers.
- URL condition: Set it to URL contains
/thank_you. Shopify’s order confirmation URL typically looks likeyourstore.myshopify.com/checkouts/abc123/thank_you— so matching on/thank_youis the safest pattern.
Assign this goal to the UET tag you created in Step 1.
Step 4: Pass Dynamic Revenue Values
Counting conversions is useful; knowing the revenue behind them is essential for calculating ROAS. Microsoft Ads supports dynamic revenue reporting through a small piece of additional code on the thank-you page.
Shopify exposes order data on the confirmation page through Liquid variables. You’ll add an event snippet — separate from the base UET tag — that fires only on the order confirmation page and passes the order total.
In Shopify, go to Settings → Checkout → Order status page (sometimes called “Additional scripts” in older Shopify versions, or managed through Checkout Extensibility in newer ones). Add the UET event snippet there, using Shopify’s Liquid syntax to dynamically inject {{ checkout.total_price | divided_by: 100.0 }} as the revenue value and {{ checkout.order_id }} as the transaction ID.
Microsoft’s Help Center provides the exact event snippet format — use their official version rather than copying from third-party sources, since syntax details matter.
Tired of juggling 12 ad network dashboards?
AdPlus plans, launches, and monitors campaigns across Google, Meta, LinkedIn, TikTok, and 8 more networks — from one chat. Free Starter tier.
Get started →Step 5: Verify the Tag Is Firing
Before you trust any data, verify the implementation. Microsoft offers two verification tools:
UET Tag Helper (Browser Extension)
Install the Microsoft Advertising UET Tag Helper Chrome extension. Browse your Shopify store — the extension will show whether the UET tag is detected on each page and whether it’s firing correctly. Navigate to a test order confirmation page and confirm the purchase event registers.
Microsoft Ads Tag Validation
In Microsoft Ads under UET tags, your tag will eventually show a status of “Tag active” once it detects traffic. This can take a few hours after installation — don’t panic if it says “Unverified” immediately.
Common issues to check if the tag isn’t firing:
- Cookie consent banners blocking the tag from loading for non-consenting visitors.
- Shopify’s Custom Pixel sandbox rejecting the script — try the theme.liquid method instead.
- A second conflicting UET tag firing from a previous install attempt.
Step 6: Link Conversion Goals to Your Campaigns
Creating a conversion goal doesn’t automatically apply it to all campaigns. In Microsoft Ads, conversion goals can be set at the account level or the campaign level. Go to your campaign settings and confirm the purchase goal is included in the conversions being optimized.
This is especially important if you’re using automated bidding strategies like Target CPA or Maximize Conversions — the algorithm optimizes toward whichever conversion goals are active, so a missing goal means it’s optimizing toward nothing meaningful.
Managing Microsoft Ads Alongside Your Other Networks
One of the friction points with Microsoft Ads conversion tracking is that it sits completely separate from your Google Ads or Meta tracking setup. You’re managing pixel snippets, conversion goals, and verification workflows across multiple platforms — each with its own interface and terminology.
This is where a platform like AdPlus helps. AdPlus centralizes conversion tracking setup across all 12 major ad networks, including Microsoft Ads, so you can verify that your purchase events are firing correctly from one place rather than toggling between dashboards. When you’re also running Google, Meta, and TikTok simultaneously, having a single view of which conversions are being reported on which network saves meaningful time — and helps you catch discrepancies before they distort your budget decisions.
A Few Things to Watch After Launch
Allow a learning period. Automated bidding in Microsoft Ads needs a reasonable volume of conversion data before it stabilizes. If you’re seeing erratic CPCs or poor results in the first week or two, check that conversions are recording correctly before adjusting bids aggressively.
Watch for duplicate conversions. If a shopper refreshes the thank-you page or your Shopify theme fires a page-view event multiple times, you can inflate conversion counts. The “Count: One” setting on your goal helps, but monitor your conversion-to-click ratio for anything that looks implausibly high.
Cross-device tracking limitations. Like all cookie-based tracking, Microsoft Ads UET has gaps — especially on iOS and across devices. Treat the numbers as directionally correct rather than perfectly precise, and compare against your Shopify order reports periodically to sense-check the data.
Getting Microsoft Ads conversion tracking right on Shopify is a one-time investment that pays back every week you run campaigns. Accurate purchase data means smarter bidding, better budget allocation, and the ability to actually tell whether Bing traffic is worth scaling. If you want to manage this setup — and your tracking across every other ad network — from a single dashboard, AdPlus is built exactly for that. Give it a try and see how much clearer your cross-network performance picture gets.