Inferensys

Glossary

Unified ID 2.0 (UID2)

An open-source, interoperable identity framework developed by The Trade Desk that relies on hashed and salted email addresses or phone numbers to enable targeted advertising without third-party cookies.
Stylish WeWork-like workspace with hot desks and document wall, professional searching through enterprise knowledge base on a mounted ultrawide display, warm industrial pendants overhead.
Identity Framework

What is Unified ID 2.0 (UID2)?

An open-source, interoperable identity framework that relies on hashed and salted email addresses or phone numbers to enable targeted advertising without third-party cookies.

Unified ID 2.0 (UID2) is an open-source, interoperable identity framework developed by The Trade Desk that creates a deterministic identifier from a user's hashed and salted email address or phone number, enabling addressable advertising in a post-third-party cookie ecosystem. The framework relies on explicit user consent, with consumers granting permission to publishers to create a UID2 token that is regularly rotated to prevent unauthorized tracking.

The architecture operates through a decentralized network of authorized operators who manage the cryptographic salting and token generation process, ensuring no single entity controls the identity infrastructure. When a user authenticates, their PII is hashed with a rotating salt, creating a temporary UID2 token that demand-side platforms can use for frequency capping and targeting, while the raw identifier remains opaque throughout the bid stream.

UNIFIED ID 2.0

Core Characteristics of UID2

An open-source, interoperable identity framework that replaces third-party cookies with hashed and salted email addresses or phone numbers for deterministic, privacy-conscious targeting.

01

Deterministic, Not Probabilistic

UID2 relies on hashed and salted email addresses or phone numbers to create a definitive identity token. Unlike probabilistic methods that infer identity from IP addresses or browser fingerprints, UID2 provides absolute certainty in user recognition. This deterministic foundation eliminates the guesswork and confidence scores inherent in statistical matching, ensuring that the user on a mobile device is the same user on a desktop when they authenticate with the same email.

02

Open-Source Transparency

The entire UID2 framework is publicly accessible and auditable. The source code, operator specifications, and cryptographic protocols are available on GitHub, allowing any organization to inspect the security model or run their own private operator instance. This transparency is a direct counterpoint to the opaque, proprietary nature of third-party cookies, fostering trust among publishers, advertisers, and privacy regulators.

03

Salted and Hashed Pseudonymization

UID2 never exposes a raw email address. The framework applies a one-way cryptographic hash combined with a rotating salt to transform the email into a pseudonymous identifier. The salt is regularly refreshed, requiring re-authorization and preventing the creation of a permanent, static identifier. This process ensures that even if a UID2 token is intercepted, it cannot be reversed to reveal the original personally identifiable information (PII) without the transient decryption key.

04

User Transparency and Consent

A core tenet of UID2 is explicit user control. Consumers are presented with a clear, standardized interface explaining how their email is being used for advertising. They can view the specific advertisers targeting them and revoke their consent at any time. This opt-out mechanism is built directly into the protocol, creating a direct value exchange between the user and the publisher, rather than the hidden tracking of third-party cookies.

05

Decentralized Operator Model

UID2 is not a single, centralized database controlled by The Trade Desk. It operates through a network of independent administrative operators who manage the cryptographic keys and the salting process. This decentralized architecture prevents any single entity from monopolizing the identity layer and allows for private operator instances, where a brand or publisher can manage their own UID2 ecosystem in complete isolation from the broader network.

06

Token Refresh and Lifecycle Management

A UID2 token is not a permanent identifier. It has a finite lifespan and must be continuously refreshed using a refresh token. This lifecycle management ensures that identity data does not become stale. If a user revokes consent or stops engaging with a publisher, the token simply expires and cannot be regenerated, automatically enforcing privacy preferences without requiring manual data deletion by downstream vendors.

UNIFIED ID 2.0

Frequently Asked Questions

Clear answers to the most common technical and strategic questions about The Trade Desk's open-source identity framework.

Unified ID 2.0 (UID2) is an open-source, interoperable identity framework that replaces third-party cookies with hashed and salted email addresses or phone numbers as deterministic identifiers. When a user authenticates on a publisher's site, their email is cryptographically hashed and salted, then sent to a UID2 operator. The operator generates an advertising token—a transient, encrypted identifier that demand-side platforms (DSPs) can use for targeted bidding. This token is refreshed frequently, preventing persistent tracking. The framework relies on a distributed trust model with independent operators, administrators, and a transparent governance structure, ensuring no single entity controls the identity spine.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.