Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Microsoft UET tag ID wrong: how to find and fix it

TRK-215High impactDetectedBy FunnelGuardPublished Updated
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.

Conversions reported vs realExample numbers
Conversions reported vs real (example)Real leads: 40 conversions; Reported, correct ID: 40 conversions; Reported, wrong ID: 0 conversions0153140400Real leadsReported, correct IDReported, wrong IDconversions

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.

Where the data is lost
  1. Ad clickVisitor arrives from Microsoft Ads
  2. UET tag loadsFires with the wrong tag ID
  3. Microsoft AdsNo data for your tag
  4. 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

Compare the ID on your site with your account
  1. 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.

  2. 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.

  3. Compare

    The two numbers must match exactly. Check key pages too: landing page, form page, thank-you page and checkout.

  4. Look for duplicates

    If you see more than one ti= value, two installs are running. Decide which is correct and remove the other.

What a UET request looks like in the Network tabtext
https://bat.bing.com/action/0?ti=12345678&Ver=2&mid=...&evt=pageLoad

# ti=12345678 is the tag ID your site is sending

How 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.

Replace the UET tag ID
  1. Open the UET tag

    In Tags, open the Microsoft Advertising Universal Event Tracking tag (or your Custom HTML tag).

  2. 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.

  3. Preview and publish

    Use Preview mode, check the Network request shows the right ti=, then Submit and publish.

Standard UET tag: only change the ti valuehtml
<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

Confirmation checks
  • 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

Keep the ID right
  • 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.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: tag_ids.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.