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.

Overview

Xandr, now part of Microsoft's advertising ecosystem, is a programmatic advertising platform that powers the buying and selling of digital display and video advertising through real-time bidding (RTB) auctions. Its scripts are among the most data-intensive third-party embeds a website can load — they participate in millisecond-level ad auctions, sync cookies across advertising networks, and transmit detailed visitor behavioral data to Microsoft's advertising marketplace.

For website operators, Xandr scripts represent the full spectrum of programmatic advertising infrastructure. They are not simply ad-serving tags — they are active participants in a global data marketplace where visitor information is shared with potentially hundreds of demand-side platforms, data management platforms, and advertisers in real time during each ad auction.

What This Script Does

Xandr scripts perform comprehensive advertising and data collection functions:

  • Real-time bidding participation: Scripts initiate and manage RTB auctions for ad placements on the page. For each auction, information about the visitor (browser fingerprint, cookie identifiers, browsing context, geographic data) is transmitted to multiple demand-side platforms that evaluate whether to bid on the impression.
  • Cookie placement and syncing: Xandr sets third-party cookies to assign persistent identifiers to visitors. These identifiers are synced with other advertising platforms through cookie-syncing pixels, enabling cross-site tracking and audience matching across the advertising ecosystem.
  • Audience segment matching: Scripts evaluate visitors against pre-built audience segments (based on demographics, interests, purchase intent, browsing history) to determine which advertising campaigns are eligible to target them.
  • Behavioral data collection: Page URLs, referrer data, content categories, and on-page engagement signals are collected and associated with the visitor's advertising identifier to build and refine behavioral profiles over time.
  • Conversion tracking: Post-impression and post-click conversion pixels track whether visitors who saw or clicked ads subsequently completed desired actions (purchases, sign-ups, form submissions) on the advertiser's site.
  • Ad rendering: Scripts load and display the winning creative from the auction — display banners, video ads, or native ad units — and monitor viewability, completion rates, and interaction events.
  • Data transmission to Microsoft marketplace: All collected signals feed into Microsoft's broader advertising data infrastructure, where they may be combined with data from other Microsoft properties and partners.

The data sharing involved in programmatic advertising is among the most extensive of any third-party script category.

Consent & Compliance

Xandr scripts trigger some of the most significant consent requirements of any third-party vendor. Under GDPR, the real-time bidding process itself has been subject to regulatory scrutiny because it involves sharing personal data (visitor identifiers, behavioral data, location) with numerous third parties during each auction. Several European data protection authorities have found aspects of RTB to be non-compliant with GDPR principles.

The cookie syncing, cross-site tracking, and behavioral profiling all require explicit, informed consent under both GDPR and the ePrivacy Directive. Under CCPA/CPRA, Xandr's data collection constitutes both "sale" and "sharing" of personal information, requiring prominent opt-out mechanisms and honoring Global Privacy Control signals.

Xandr participates in IAB's Transparency and Consent Framework (TCF), but website operators bear ultimate responsibility for ensuring valid consent is obtained before Xandr scripts load. The scripts must be categorized under "marketing" or "advertising" in your consent management platform and must not fire until explicit consent is granted.

Should You Block This Without Consent?

Xandr scripts exist entirely for programmatic advertising purposes — real-time bidding, behavioral profiling, cross-site tracking, and ad targeting. They provide no functionality that serves the website visitor. The data sharing involved is extensive, involving transmission of personal data to numerous third parties during each ad auction. Blocking without consent is not only appropriate but is effectively required by GDPR and similar frameworks.

Yes.

Is Xandr GDPR compliant?

Xandr typically loads marketing and analytics trackers, which are not strictly necessary for your site to work. Under the GDPR and the ePrivacy Directive, non-essential cookies and trackers must stay blocked until a visitor gives clear opt-in consent. So Xandr can be fully GDPR compliant, but only if your site holds its scripts until consent is granted and lets visitors decline just as easily. Compliance depends on how your site loads Xandr, not on Xandr itself.

Visit website

Consent Categories

Also Known As

xandrxandr cookiesxandr trackingappnexus consentxandr privacyxandr GDPRmicrosoft advertising consent

Industries

Marketing and AdvertisingBusiness and Consumer Services

Tracked Domains (1)

xandr.comMarketing

xandr.com is a marketing domain operated by Xandr, used to serve ads, build audiences, and measure ad conversions.

Frequently Asked Questions

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.
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.
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 Power Apps
Microsoft Power Apps
Microsoft Power Apps is a low-code application development platform that enables embedded business applications on websites. Scripts load custom app interfaces from Microsoft's cloud, render form controls and data views, and connect to backend data sources through Power Platform connectors. Sets session cookies to maintain application state and user authentication.
Microsoft Power Automate
Microsoft Power Automate
Microsoft Power Automate is a workflow automation platform that connects to websites through embedded triggers and action widgets. Scripts load form interfaces, approval flows, and automated process components that interact with Microsoft's cloud services. Sets session cookies to authenticate users and maintain workflow state during multi-step automated processes.
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.
Microsoft Viva
Microsoft Viva
Microsoft Viva is an employee experience platform that surfaces on websites through embedded engagement and learning modules. Scripts load content feeds and knowledge cards from Microsoft's cloud infrastructure. Sets authentication cookies for user identity and personalized workplace content delivery.
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.

Related Vendors

Airmeet
Airmeet
Airmeet is a virtual events and webinar platform that embeds event registration flows and livestream players on event landing pages. Scripts manage attendee registration, session access control, and real-time interaction features for online events.
Liferay
Liferay
Liferay is an enterprise portal and digital experience platform. Scripts on Liferay-powered sites manage page navigation, content delivery, and user session state. They may also load analytics and personalization scripts, and set session and authentication cookies required for portal functionality.
Dotdigital
Dotdigital
Dotdigital scripts collect behavioral data such as page views and purchase events to enable marketing automation, email personalization, and campaign segmentation. Scripts may embed lead capture forms and deliver personalized content blocks based on contact profile data.
Maropost
Maropost
Maropost scripts collect behavioral data including page views, product interactions, and purchase events to power cross-channel marketing automation. Scripts enable personalized email and SMS campaign delivery and may embed dynamic content blocks based on visitor segmentation and purchase history.
Drip
Drip
Drip is an ecommerce-focused email and SMS marketing platform providing deep segmentation and behavioral automation. Scripts track visitor browsing activity, cart additions, and purchases to trigger targeted campaigns. Shopper behavior events sync to Drip's workflow engine for personalized sequences based on purchase intent signals.
X Pixel
X Pixel
X Pixel fires JavaScript events on user interactions and sends conversion data to X's advertising platform. Scripts track website actions such as purchases, sign-ups, and page views to measure ad campaign performance and build retargeting audiences across X's ad network.

Manage consent for Xandr

ConsentStack automatically detects and manages Xandr trackers so your site stays compliant with global privacy regulations.