Microsoft Advertising UET Tag

Microsoft Advertising UET Tag

Microsoft Advertising UET Tag is the Universal Event Tracking pixel for Microsoft's ad platform, formerly Bing Ads. The JavaScript tag fires on advertiser websites to track page views, conversions, and custom events for campaign optimization. Sets cookies to identify visitors across sessions and attribute conversions to Microsoft Search and Audience Network ad clicks.

Overview

The Microsoft Advertising Universal Event Tracking (UET) Tag is the conversion tracking pixel for Microsoft's advertising platform, which serves ads across Bing Search, the Microsoft Audience Network, Yahoo, DuckDuckGo, and other Microsoft Search partners. Advertisers place the UET Tag on their websites to measure the effectiveness of their Microsoft Advertising campaigns by tracking page views, conversions, and custom goals. The tag feeds data back to Microsoft Advertising for campaign optimization, audience targeting, and return-on-ad-spend reporting.

What This Script Does

The UET Tag loads from bat.bing.com and tracks visitor behavior on the advertiser's website.

  • Script loaded: bat.bing.com/bat.js — the Universal Event Tracking script that initializes page-level tracking and reports events to Microsoft Advertising
  • Page tracking: On every page load, the UET Tag fires a tracking beacon to bat.bing.com containing the page URL, referrer, page title, and visitor identifiers. This data builds the foundation for conversion attribution and audience segmentation.
  • Cookies set:
    • _uetmsclkid — First-party cookie (90-day expiry). Stores the Microsoft Click ID (msclkid) from ad clicks for conversion attribution across sessions.
    • _uetsid — First-party cookie (30-minute expiry). Session identifier for correlating page views within a single visit.
    • _uetvid — First-party cookie (13-month expiry). Persistent visitor identifier for cross-session tracking and audience building.
    • MUID — Third-party cookie on bing.com (13-month expiry). Microsoft's cross-site user identifier, shared across Microsoft properties and partner sites.
  • Custom events: Advertisers can configure the UET Tag to track specific conversion events (purchases, sign-ups, form submissions) by firing event beacons with revenue values, currency codes, and custom parameters.
  • Remarketing: The UET Tag's visitor identifiers feed Microsoft Advertising's remarketing audiences, enabling advertisers to serve ads to previous site visitors across the Microsoft Audience Network.

Consent & Compliance

The Microsoft Advertising UET Tag falls under the marketing consent category.

Under GDPR and ePrivacy, the UET Tag requires explicit opt-in consent. It sets persistent first-party tracking cookies (_uetvid with 13-month expiry), transmits behavioral data to Microsoft's advertising servers, and the MUID third-party cookie enables cross-site user identification. This constitutes storage of non-essential cookies under the ePrivacy Directive and processing of personal data for advertising under GDPR. Microsoft Advertising supports the IAB TCF and provides consent mode integration.

Under CCPA/CPRA, the UET Tag's transmission of visitor identifiers and behavioral data to Microsoft for advertising optimization constitutes "sharing" of personal information for cross-context behavioral advertising. Advertisers must support opt-out mechanisms and honor the Global Privacy Control signal. Microsoft offers a CCPA opt-out mechanism through the Microsoft privacy dashboard.

Data transfers from the EU to the US are covered under Microsoft Corporation's EU-US Data Privacy Framework certification.

Should You Block This Without Consent?

Yes. The UET Tag sets persistent tracking cookies, transmits page-level behavioral data to Microsoft's advertising infrastructure, enables cross-site user identification through the MUID cookie, and feeds remarketing audience lists. Block the UET Tag entirely until the user grants marketing consent.

Visit website

Consent Categories

Marketing

Also Known As

Bing Ads pixelUET tagMicrosoft Ads trackingBing UETbat.bing.comMicrosoft Search ads

Industries

Computers Electronics and TechnologyProgramming and Developer Software

Tracked Domains (1)

bingads.microsoft.comMarketing

Frequently Asked Questions

Does the Microsoft Advertising UET Tag require cookie consent?

Yes. The UET Tag sets persistent tracking cookies including _uetvid (13-month expiry) and the MUID cross-site identifier, and transmits behavioral data to Microsoft's advertising servers. Under GDPR and ePrivacy, explicit marketing consent is required before the tag fires. Microsoft Advertising supports IAB TCF and Consent Mode integration.

What cookies does the Microsoft Advertising UET Tag set?

The _uetmsclkid cookie (90-day) stores the Microsoft Click ID for conversion attribution. The _uetsid cookie (30-minute) is a session identifier. The _uetvid cookie (13-month) enables cross-session tracking. The MUID third-party cookie (13 months) on bing.com enables cross-site identification. The script loads from bat.bing.com/bat.js.

How does ConsentStack manage UET Tag consent?

ConsentStack classifies the Microsoft Advertising UET Tag as marketing. When marketing consent is withheld, ConsentStack blocks bat.bing.com/bat.js, preventing conversion tracking, remarketing audience building, and MUID cookie placement. When consent is granted, the tag loads and begins attributing conversions to Microsoft ad campaigns.

Other Microsoft Products

Bing Ads
Bing Ads
Microsoft Advertising (Bing Ads) is the advertising platform for search campaigns on Bing, Yahoo, and partner networks. The Universal Event Tracking (UET) tag fires on advertiser sites to record conversions and build remarketing audiences. Data flows into the Microsoft Advertising dashboard for campaign reporting and bid optimization.
Bing Webmaster Tools
Bing Webmaster Tools
Sets a meta tag or BingSiteAuth.xml file to confirm site ownership with Microsoft Bing. The verification asset collects no personal data; Bing then provides search performance, crawl error, and keyword analytics accessible only through authenticated Webmaster Tools dashboard sessions.
LinkedIn
LinkedIn
LinkedIn Insight Tag is a conversion tracking and audience analytics tool for LinkedIn advertising. Scripts set a first-party cookie and send page view and conversion events to LinkedIn's servers. Data supports campaign attribution, demographic reporting on site visitors, and LinkedIn retargeting audience creation.
Microsoft Azure AD
Microsoft Azure AD
Microsoft Azure AD (now Microsoft Entra ID) is a cloud identity and access management service for single sign-on and user authentication on websites. Scripts load the Microsoft Authentication Library to handle OAuth flows, display login prompts, and manage access tokens. Stores authentication cookies and session tokens to maintain user login state across visits.
Microsoft Dynamics 365
Microsoft Dynamics 365
Microsoft Dynamics 365 is a suite of CRM and ERP applications that integrates with websites through tracking scripts and embedded forms. Web tracking code captures visitor behavior, page views, and form submissions to build customer profiles and score leads. Sets cookies to identify returning visitors and attribute marketing touchpoints across sessions.
Microsoft Teams
Microsoft Teams
Microsoft Teams is a workplace communication and collaboration platform that can be embedded on websites for chat, meetings, and document sharing. Embedded widgets load from Microsoft's servers to enable real-time messaging, video calls, and file collaboration. Sets authentication and session cookies to verify participant identity and maintain connection state.
Power BI
Power BI
Power BI is Microsoft's business intelligence and data visualization platform. Its embedded scripts render interactive dashboards and reports within web pages, loading data visualizations through iframes or JavaScript APIs. Embedded reports may set authentication cookies and make requests to Microsoft's cloud services.
Xandr
Xandr
Xandr scripts serve programmatic display and video ads by placing cookies, collecting audience data, and participating in real-time bidding auctions. Scripts match visitors against audience segments and transmit behavioral data to Microsoft's advertising marketplace for targeting and measurement.

Related Vendors

Google Ads
Google Ads
Google Ads is Google's advertising platform for search, display, and remarketing campaigns. Conversion tracking scripts fire on advertiser landing pages to measure actions taken after ad clicks. The remarketing tag builds audience lists for retargeting users across Google's ad network.
Google
Google
Google is the dominant provider of web analytics, advertising, and infrastructure tools. Scripts like Google Analytics, Tag Manager, Ads, and reCAPTCHA collect behavioral data, manage tag firing, serve targeted ads, and detect bots. Sets persistent cookies to track users and correlate activity across sites.
Microsoft
Microsoft
Runs Clarity (session recording and heatmaps), the Microsoft Advertising UET tag (conversion tracking), and Bing's remarketing pixel. Clarity injects a recording script that captures mouse movements, clicks, and rage clicks. The UET tag fires conversion events to tie ad clicks to on-site actions across Microsoft's ad network.
Microsoft Dynamics 365
Microsoft Dynamics 365
Microsoft Dynamics 365 is a suite of CRM and ERP applications that integrates with websites through tracking scripts and embedded forms. Web tracking code captures visitor behavior, page views, and form submissions to build customer profiles and score leads. Sets cookies to identify returning visitors and attribute marketing touchpoints across sessions.
LinkedIn Insight Tag
LinkedIn Insight Tag
LinkedIn Insight Tag is a JavaScript tracking pixel for LinkedIn's advertising and analytics platform. The tag fires on every page view to collect URL, referrer, IP address, and device data for conversion tracking, website demographics reporting, and retargeting audience building. Sets cookies to identify LinkedIn members across advertiser websites.
LinkedIn
LinkedIn
LinkedIn Insight Tag is a conversion tracking and audience analytics tool for LinkedIn advertising. Scripts set a first-party cookie and send page view and conversion events to LinkedIn's servers. Data supports campaign attribution, demographic reporting on site visitors, and LinkedIn retargeting audience creation.

Manage consent for Microsoft Advertising UET Tag

ConsentStack automatically detects and manages Microsoft Advertising UET Tag trackers so your site stays compliant with global privacy regulations.