Microsoft Ads UET Tag Explained and How to Add It
What is the UET tag in Microsoft Advertising?
The UET tag is the tracking code you create in Microsoft Advertising and add to every page of your website. Microsoft says you need one before you can track conversions or build remarketing lists. You create it in the UET tag page, copy the code, then paste it into your site's head or body.
Think of the UET tag as the one snippet you add to your site so Microsoft Advertising can track conversions and build remarketing lists.
Why do you need a UET tag?
Microsoft’s help page says that before you can track conversions or target audiences using a remarketing list, you need to create a UET tag in Microsoft Advertising and then add the tag’s tracking code to every page of your website.
How do you create a UET tag?
Microsoft’s steps, in short:
- Hover over Conversions in the left menu and select UET tag.
- Select Create and enter a UET tag name.
- Optionally add a description that helps you identify the tag later.
- Select the industry of the website the tag is for.
- Optionally clear the Enable Microsoft Clarity checkbox.
- Select Save.
- In the View UET tag tracking code box, choose Copy, Download or Email.
Where does the code go?
Microsoft recommends adding the tracking code to every page of your website, in the head or body section. You can add it:
- Directly into your website code with JavaScript.
- Through a third-party tag manager.
- Through your website platform, if your site was built on one such as Shopify or WordPress.
The code can sit anywhere in the head section (before the closing head tag) or the body section (before the closing body tag). You need to be able to edit your site’s code, so contact your webmaster if you are not sure how.
Does the industry setting matter?
Yes, for health sites. Microsoft says it applies privacy and compliance filtering to healthcare-related traffic collected by a UET tag. If you set the tag’s industry to HealthWellness, events from pages tied to that tag may not be eligible for audience targeting. Microsoft suggests using separate tags for healthcare pages and non-healthcare pages if you still want audiences on the non-healthcare part of your site.
What about visitors from Europe?
Microsoft states that for users visiting from the European Economic Area, the United Kingdom and Switzerland, you should implement Consent Mode or the Transparency and Consent Framework with your UET tags. It warns that without proper consent transmission, conversion attribution and remarketing segments can be negatively affected.
What about single-page sites?
Microsoft notes that single-page application websites are challenging to track, because content loads dynamically without a normal navigation event. It says each separate navigation should be treated as a new page load for goal tracking, and it has a dedicated page on enabling UET tags in these sites.
FAQ
Do I need a UET tag for Search campaigns?
For conversion tracking, yes: Microsoft says to track conversions you need a UET tag added to every page. Its bid strategy page also says maximize conversions needs conversion tracking, either a UET tag plus an active conversion goal, or offline conversions.
Can I have more than one UET tag?
The creation page walks through one tag. For health sites it suggests separate tags, one for healthcare pages and another for non-healthcare pages, so audience strategies keep working.
Can I email the code to a developer?
Yes. After you save the tag, the View UET tag tracking code box offers Copy, Download or Email.
Sources
- How do I create a UET tag? (Microsoft Advertising Help) (Microsoft, checked 2 Nov 2026)
- How do I add a UET tag to my website? (Microsoft Advertising Help) (Microsoft, checked 2 Nov 2026)
- Let Microsoft Advertising manage your bids with bid strategies (Microsoft Advertising Help) (Microsoft, checked 2 Nov 2026)
Drafted with AI and checked claim by claim against the pages linked under Sources. Spotted a mistake? See the corrections policy.