Microsoft Advertising (UET) Tracking Setup for BigCommerce
Quick answer: Use the free container builder wizard to select Microsoft Advertising (UET) and your events, enter your tracking ID, then import the generated file into Google Tag Manager - no manual tag setup needed for any of the 23 events below.
Universal Event Tracking base tag and standard events, generated as Custom HTML. This platform does not have a native GTM tag type, so the container wraps its base code in a Custom HTML tag.
Build my Microsoft Advertising (UET) container →
Events you can track
ecommerce events
- Microsoft Advertising (UET) Page View event setup
- Microsoft Advertising (UET) View Item event setup
- Microsoft Advertising (UET) View Item List event setup
- Microsoft Advertising (UET) Add to Cart event setup
- Microsoft Advertising (UET) Remove from Cart event setup
- Microsoft Advertising (UET) Begin Checkout event setup
- Microsoft Advertising (UET) Add Shipping Info event setup
- Microsoft Advertising (UET) Add Payment Info event setup
- Microsoft Advertising (UET) Purchase event setup
- Microsoft Advertising (UET) Refund event setup
- Microsoft Advertising (UET) Add to Wishlist event setup
- Microsoft Advertising (UET) Coupon Applied event setup
- Microsoft Advertising (UET) Search event setup
- Microsoft Advertising (UET) Login event setup
- Microsoft Advertising (UET) Sign Up event setup
engagement events
- Microsoft Advertising (UET) Form Submission event setup
- Microsoft Advertising (UET) Lead event setup
- Microsoft Advertising (UET) Phone Click event setup
- Microsoft Advertising (UET) WhatsApp Click event setup
- Microsoft Advertising (UET) Email Click event setup
- Microsoft Advertising (UET) Outbound Click event setup
- Microsoft Advertising (UET) Scroll event setup
- Microsoft Advertising (UET) File Download event setup
By Humayun Kabir Naim — Last updated: 9 November 2026
Quick answer
To track a BigCommerce store in Microsoft Advertising through Google Tag Manager, first check whether the Microsoft Ads and Listings channel app is connected — if it is, it has already installed a UET tag on your storefront, and that tag is your one install. If it is not, fire the UET base tag from GTM (a Custom HTML tag carrying your UET Tag ID, on All Pages) and send the purchase as a UET event from the order-confirmation data layer push, with revenue_value read from the order via %%ORDER_AMOUNT%% and the order ID from %%ORDER_ID%%. In Microsoft Advertising, count it with an event goal if you need per-order revenue, or a destination URL goal on the confirmation page if a count is enough. One base tag, one goal per action, and a consent signal for EEA traffic — that is the whole build.
What gets tracked
UET needs one sitewide tag and a small set of events worth bidding on. The container on this page covers all 23 events; these are the ones Microsoft actually uses:
| Shopper action | Data layer event | UET use | Notes |
|---|---|---|---|
| Any page viewed | page_view | Base UET tag — audiences + the signal every goal stands on | Fires from the base tag, not an event push |
| Product page viewed | view_item | Product-view signal for dynamic remarketing | Needs the product ID (ecomm_prodid-style parameter) to match the Microsoft catalog |
| Product added to cart | add_to_cart | Cart audience / optional event goal | Rarely worth a goal of its own |
| Checkout started | begin_checkout | Checkout audience | Optional |
| Order completed | purchase | Purchase event with revenue_value, currency, order ID | The conversion that matters — event goal route below |
| Account created | sign_up | Event goal for trade/wholesale stores | Optional |
| Quote / contact form sent | form_submission / lead | Event goal for B2B stores | Optional |
| Search submitted | search | Audience refinement | Optional |
| Coupon, wishlist, clicks, scroll | apply_coupon, add_to_wishlist, engagement events | No standard UET goal use | Leave them to GA4/Meta |
Two Microsoft realities shape this table. Goals, not events, are what Microsoft counts. UET events floating in the tag mean nothing until a conversion goal in Microsoft Advertising claims them — either an event goal matched to the event you send, or a destination goal matched to a URL. Stores routinely fire perfect events for months against no goal at all. Revenue is a goal-level decision: a destination goal can only carry a fixed revenue value (or none), and Microsoft's simplified goal setup does not support variable revenue at all — per-order revenue requires the event-goal route with revenue_value sent from the page.
Deep dives: Page View, Purchase, Add to Cart, Sign Up, Lead. The shared data layer comes from the BigCommerce + GA4 hub. See all options on the BigCommerce hub.
Before you start
- A Microsoft Advertising account and a UET tag. In Microsoft Advertising: Conversions → UET tag → Create, name it for the store, and note the Tag ID. One tag per store is the clean default; multi-storefront rules are in Before-you-start item 4.
- Decide the install route — and count your existing base tags. Three routes can put UET on a BigCommerce store: the Microsoft Ads and Listings channel app (auto-installs the tag when connected), a raw UET snippet pasted into Script Manager (BigCommerce's own documented manual route), and GTM. Exactly one survives. If the channel app is connected and its tag is the one you want, this hub's GTM work shrinks to events and goals — do not add a GTM base tag on top. If you are moving to GTM, disconnect or remove the other install first; two base tags double every page view Microsoft sees, and UET gives you no merge to undo it.
- GTM installed through Script Manager, and the data layer working (skip if the channel app owns the base tag and you send no GTM events). One web container per channel, and the confirmation-page purchase push from the BigCommerce + GA4 hub — that push, built with the
%%ORDER_ID%%and%%ORDER_AMOUNT%%placeholders, is what the UET purchase event reads. - Multi-storefront: plan tag IDs per channel. Script Manager belongs to each channel, the channel app connects per storefront, and a UET tag belongs to one Microsoft Advertising account. Regional or B2B storefronts that advertise separately usually deserve their own UET tag in their own account — decide per channel and write it down, because a single tag silently shared across storefronts mixes their audiences and conversions.
Route 1: Use the free TagManagerBuilder container
Open the GTM Container Builder, choose BigCommerce, then Microsoft Advertising (UET), and tick the events you want. Enter your UET Tag ID, download the JSON, then in GTM go to Admin → Import Container and choose Merge → Overwrite conflicting tags, triggers, and variables. The container builds the base tag as Custom HTML (UET has no native GTM tag type) and wires the events to the data layer pushes. Route 1 assumes GTM is your install route: if the channel app already installed UET, import only the event tags you need and delete the container's base tag before publishing. Test with the testing section below before publishing.
Route 2: Build it manually in GTM
Step 1 — The UET base tag
Tags → New → Custom HTML, and paste the UET base snippet from Microsoft Advertising with your Tag ID in it. The snippet initialises the uetq queue and loads the tag; its shape is:
<script>
(function(w,d,t,r,u){var f,n,i;w[u]=w[u]||[],f=function(){var o={ti:"12345678"};o.q=w[u],w[u]=new UET(o),w[u].push("pageLoad")},n=d.createElement(t),n.src=r,n.async=1,n.onload=n.onreadystatechange=function(){var s=this.readyState;s&&s!=="loaded"&&s!=="complete"||(f(),n.onload=n.onreadystatechange=null)},i=d.getElementsByTagName(t)[0],i.parentNode.insertBefore(n,i)})(window,document,"script","//bat.bing.com/bat.js","uetq");
</script>
Set the trigger to All Pages. Give the Tag ID in the snippet (ti) a second look before saving — a tag ID from the wrong Microsoft account is the quietest way to record nothing. If your store also runs Microsoft Clarity, keep its snippet separate: Clarity is a behaviour-analytics tool with its own tag and its own install, and it neither sends nor receives UET conversions (see troubleshooting).
Step 2 — Consent before conversions (EEA, UK, Switzerland)
Microsoft requires a consent signal for visitors in the EEA, the UK and Switzerland: UET must be told whether the visitor consents to advertising cookies before it may use them. Practically, your consent setup pushes the visitor's choice into the UET queue — a default state when the tag loads and an update when the visitor decides:
window.uetq = window.uetq || [];
window.uetq.push('consent', 'update', { ad_storage: 'granted' }); // or 'denied'
If your store already runs Google Consent Mode through GTM, wire the same banner decision to this push rather than inventing a second consent flow — one banner, one visitor choice, every platform told. A store with EEA traffic and no consent signal will see UET data restricted no matter how clean the rest of the build is.
Step 3 — The purchase event
Create a second Custom HTML tag that listens for the data layer and forwards the purchase. UET events are pushed onto the same uetq queue:
<script>
window.uetq = window.uetq || [];
window.uetq.push('event', 'purchase', {
revenue_value: {{DLV - ecommerce.value}},
currency: {{DLV - ecommerce.currency}},
order_id: {{DLV - ecommerce.transaction_id}}
});
</script>
Trigger: Custom Event on purchase. The variables read the confirmation-page push your GA4 setup already makes — which on BigCommerce is the script carrying %%ORDER_AMOUNT%% as the value and %%ORDER_ID%% as the transaction ID, so the revenue Microsoft receives is the order the customer actually placed, not a fixed estimate. Send the same shape for sign_up or lead event goals if you use them (event name + no revenue fields), each with its own tag and trigger.
Step 4 — Create the goals in Microsoft Advertising
Events without goals are decoration. In Microsoft Advertising: Conversions → Conversion goals → Create:
- Event goal (recommended for purchase): type Custom event, matched to the
purchaseevent from Step 3, revenue set to "the value of the conversion action may vary" so each order'srevenue_valueis used. This is the only route to per-order revenue — plan for it from the start, because the simplified goal flow does not offer variable revenue. - Destination URL goal (simpler, count-only): type Destination URL, matched to your order-confirmation URL pattern. Microsoft counts arrivals on that page. It needs the base tag firing on the confirmation page (see the checkout caveat in troubleshooting) and can only carry a fixed revenue value — acceptable for a lead page, a poor fit for orders whose values vary.
Set counting to One per click for purchase: each order counted once, however the shopper revisits the confirmation page afterwards.
Step 5 — Audiences from the same tag
With the base tag live, build remarketing audiences in Microsoft Advertising (Conversions → Audience lists): all visitors, product viewers, cart adders, and a purchasers list to exclude from prospecting. The product-viewer list only becomes product-level (dynamic remarketing) if your view events carry product IDs that match the IDs in your Microsoft catalog feed — the same ID discipline as every other platform: BigCommerce product IDs, consistently.
Test it: UET Tag Helper first, goals second
- Install Microsoft's UET Tag Helper extension and open the storefront. It should show your Tag ID and a pageLoad hit. Exactly one tag should be present — two means the channel app and GTM (or a Script Manager paste) are both live.
- In GTM Preview, click through a product and place a test order. On the
purchaseevent, your UET purchase tag sits under Tags Fired withrevenue_valueandcurrencyfilled from the order. - In the Tag Helper on the confirmation page, confirm the purchase event was received with its revenue. If the base tag never fires on that page, stop — the checkout coverage problem in troubleshooting is yours to fix before any goal can work.
- In Microsoft Advertising, open your goal: a new goal shows No recent conversions / verifying until the first real conversion is recorded against the tag, then flips to recording.
- Allow for delay: Microsoft's conversion reporting is not instant. A tag verified in the helper that has not appeared in reports yet is usually just the delay — check again before rebuilding.
- Publish in GTM only when the funnel above is clean end to end, then repeat one live test order against the published container.
BigCommerce-specific troubleshooting
Microsoft records nothing, but the tag helper shows the base tag firing. The goal is missing or mismatched. An event goal must match the event name you actually send (purchase), and a destination goal must match the URL shoppers actually land on. Firing events without a goal that claims them is the most common UET failure on any platform — and it looks exactly like a tag failure from the reports side.
Every page view and purchase is doubled. Two base tags: the Microsoft Ads and Listings channel app auto-installed UET and GTM (or a Script Manager paste) added a second one. Pick the install that survives, remove the other, and confirm a single tag in the UET Tag Helper. There is no deduplication setting to soften this.
Revenue shows as a fixed amount, or zero, on every order. You are on the destination-goal or simplified-goal route, which cannot carry per-order values — or revenue_value is resolving empty in the tag. Move purchase to an event goal with variable revenue, and check in Preview that the variable reads the confirmation push's value (%%ORDER_AMOUNT%% at the source).
I installed Microsoft Clarity and conversions stopped being the problem — they never started. Clarity and UET are different products with different tags. Clarity records sessions and heatmaps; it sends nothing to Microsoft Advertising. Stores install Clarity (often one click inside the Microsoft ecosystem) and believe UET is handled. Check for the UET Tag ID specifically in the Tag Helper.
The base tag fires everywhere except the confirmation page. BigCommerce's Optimized One-Page Checkout commonly runs on its own checkout domain or subdomain, outside a storefront Script Manager install. Destination goals and confirmation-page events both depend on that page being covered — test it directly with the Tag Helper on a real confirmation page, and if the tag is absent, cover the checkout domain or rely on the confirmation-page script route your GA4 setup uses.
A second storefront shows no Microsoft data at all. Installs are per channel: the channel app connects per storefront, Script Manager is per channel, and GTM follows Script Manager. The silent second storefront is the same trap as on every other platform here — install per channel, with the tag ID that channel's advertising actually uses.
Next steps: the same data layer feeds the other channels — the BigCommerce + Google Ads hub and the BigCommerce + Meta hub, and Consent Mode v2 keeps the whole layer consent-aware.
Frequently asked questions
Does the Microsoft Ads and Listings app replace this whole setup?
It replaces the install, not the thinking. The channel app syncs your catalog and auto-installs the UET base tag, which covers page views and gives goals something to stand on. What it does not do is decide your goals, guarantee the purchase carries per-order revenue the way you want, or stop you adding a second tag later. Many stores run the channel app for listings + base tag and use GTM only for the purchase event — a legitimate split, as long as the base tag exists exactly once.
Event goal or destination URL goal for purchase?
Event goal, if order values vary — it is the only route that uses each order's real revenue_value, and value is what Microsoft's bidding optimises against. Destination URL is the fallback for stores that only need a count, or whose confirmation page is reliably covered and whose order values are near-uniform.
Is Microsoft Clarity the same as UET?
No. Clarity is Microsoft's free behaviour-analytics tool (session recordings, heatmaps); UET is the advertising tag that feeds Microsoft Advertising conversions and audiences. They install separately, report separately, and neither substitutes for the other. Having Clarity tells you nothing about whether UET is present.
Why does Microsoft need a consent signal when Google Consent Mode is already set up?
Because they are separate systems: Google's consent state governs Google's tags, while Microsoft requires its own signal for EEA, UK and Swiss visitors before UET may use advertising cookies. The practical fix is small — push the same banner decision into uetq as a consent update — but it does not happen automatically just because Consent Mode exists in the container.
Can one UET tag serve all my storefronts?
Technically a tag can be installed anywhere, but per-channel is the sane default: separate storefronts usually mean separate markets, catalogs or accounts, and a shared tag mixes their audiences and conversions into one pool. Decide per channel, and keep a written list of which tag ID lives on which storefront.
My goal says "No recent conversions" but the helper shows events. What now?
Check the match, not the tag: an event goal records only events whose name matches the goal's definition, and only conversions attributed under the goal's settings appear. Run one genuine test order through the full path, confirm the purchase event and its name in the Tag Helper, then give Microsoft's reporting its delay before concluding anything is broken.