On this page
What this issue is
The Universal Event Tracking (UET) tag is the Microsoft Advertising pixel. It records visits and conversions for Bing, Yahoo and other Microsoft network traffic. Each tag has a numeric tag ID, for example 12345678.
The issue appears when the ID on your site does not match the ID in your Microsoft Ads account. Common causes: a typo, an ID copied from an old account, a client's ID swapped for an agency's, a staging ID left live, or two different IDs installed by different plugins.
Why it costs you leads or sales
The page still loads and nothing looks broken. But Microsoft never sees your visits or conversions, so reporting is empty and bidding has no data to learn from. You may keep paying for clicks you cannot connect to leads.
Example: 40 real leads came from Microsoft ads in a month. With the correct tag ID all 40 show up. With a wrong ID none do.
- Ad clickVisitor arrives from Microsoft Ads
- UET tag loadsFires with the wrong tag ID
- Microsoft AdsNo data for your tag
- ConversionNot attributed, bidding gets no signal
The hit leaves the page but carries an ID that does not match your account.
How to check if your site has it
Find the ID in Microsoft Ads
Open Microsoft Advertising, go to Tools > UET tag (under Conversion tracking). Note the tag ID and its status. 'No recent activity' or 'Unverified' can point to this problem.
Find the ID your site sends
Open your site, open browser DevTools > Network, filter for 'bat.bing.com'. The request URL contains
ti=followed by the tag ID.Compare
The two numbers must match exactly. Check key pages too: landing page, form page, thank-you page and checkout.
Look for duplicates
If you see more than one
ti=value, two installs are running. Decide which is correct and remove the other.
https://bat.bing.com/action/0?ti=12345678&Ver=2&mid=...&evt=pageLoad
# ti=12345678 is the tag ID your site is sendingHow to fix it
First copy the correct ID from Tools > UET tag in Microsoft Ads. Then replace the wrong ID wherever the tag is installed. The place depends on how the tag was added.
Open the UET tag
In Tags, open the Microsoft Advertising Universal Event Tracking tag (or your Custom HTML tag).
Correct the ID
Enter the right Tag ID. If you use a variable such as a Constant, fix the variable value so all UET tags update.
Preview and publish
Use Preview mode, check the Network request shows the right
ti=, then Submit and publish.
Find where the tag lives
Check your ads or tracking plugin settings, a header and footer scripts plugin, and the theme's header. Search for 'bat.bing.com' or 'uetq'.
Fix the ID in one place
Replace the wrong ID and remove any duplicate install. Clear your caching plugin and CDN cache.
Check the sales channel or app
In Settings > Apps and sales channels, open the Microsoft channel or tracking app and check the tag ID.
Check theme code
In Online Store > Themes > Edit code, search theme.liquid for 'uetq' and 'bat.bing.com'. Correct or remove manual copies.
Check customer events
Under Settings > Customer events, look for custom pixels containing the UET code.
Open custom code
In Project settings > Custom code, check the Head code. Also check page-level custom code on key pages.
Fix and publish
Replace the ID in the snippet and publish the site.
Check Marketing integrations
In Settings > Custom code or the Marketing integrations area, find the Microsoft tag or custom snippet.
Edit and publish
Fix the ID and publish the site.
Open Code Injection
Go to Settings > Advanced > Code Injection and check the Header field for the UET snippet.
Save
Replace the ID, remove duplicates and save.
Check tracking code fields
Check Site or Funnel settings > Tracking code (head) at the funnel and page level, and any custom code elements.
Correct and republish
Fix the ID in every place it appears, then save and publish.
Search your codebase
Search for
uetq,bat.jsandti:. Check templates, includes and environment configs.Use the correct ID
Update the
tivalue, and make sure staging and production use the right IDs.
<script>
(function(w,d,t,r,u){var f,n,i;w[u]=w[u]||[],f=function(){var o={ti:"12345678",enableAutoSpaTracking:true};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>How to confirm it's fixed
- The Network request to bat.bing.com shows
ti=with your correct ID. - Only one UET tag ID appears on each page.
- Microsoft Ads Tools > UET tag status moves to 'Active' (it can take a few hours).
- Microsoft's UET Tag Helper browser extension shows the tag firing on a green or checked state.
- A test conversion appears in your conversion goal's status after the next update.
How to prevent it happening again
- Store the tag ID in one place, such as a tag manager variable.
- Write the correct ID in your site's handover notes or tracking document.
- Check the ID whenever you change theme, plugin, tag manager container or agency.
- Use separate IDs on staging and make sure they never reach production.
- Re-check after launches and migrations.
How FunnelGuard handles this
FunnelGuard detects this today. A robot visitor runs your real journey on a schedule and watches the tracking hits your pages send to ad platforms, including Microsoft. The tag ID check compares the ID in those hits with the one you expect. If it differs, a failure is re-checked from a second region, then one alert goes out with a screenshot and a likely cause.
The Free plan covers 1 site and 2 journeys with daily checks and no card. Paid plans have a 3-day free trial. A free read-only website audit is also available.
Questions people ask
Why is my Microsoft UET tag not recording conversions?
A common cause is a wrong tag ID, so hits go to a tag that is not in your account. Other causes include a missing tag, a conversion goal that does not match the event, or consent settings. Compare the ti= value in the bat.bing.com request with the ID in Tools > UET tag.
How do I find my UET tag ID?
In Microsoft Advertising, go to Tools > UET tag. Your tags are listed with their numeric IDs. You can also see the ID on your site in the ti= parameter of requests to bat.bing.com in the browser Network tab.
What happens if the UET tag ID is wrong?
Microsoft Advertising receives no data for your tag, or the data goes to another account's tag. You see no activity, conversions are not counted and automated bidding lacks signals. The site itself keeps working, so the fault is easy to miss.
Why does Microsoft Ads say my UET tag has no recent activity?
The tag may be missing, blocked, or sending a different ID than the one in your account. Check the Network request for ti= and compare it. Status can take a few hours to update after a fix.
Can I have two UET tags on one site?
Technically yes, but duplicate or mixed installs often cause wrong IDs and double counting. Use one tag per account unless you have a clear reason, and keep the ID in one place.
How do I check my UET tag ID in Google Tag Manager?
Open the Microsoft Advertising UET tag or Custom HTML tag in GTM and read the Tag ID field or the ti value. Then use Preview mode and check the bat.bing.com request in the Network tab shows the same ID.
How long until Microsoft Ads shows the tag as active after fixing the ID?
It can take a few hours for the status in Tools > UET tag to update. You can confirm sooner by checking the Network request shows the right ti= value or by using the UET Tag Helper extension.