Glossary

Third-party cookie

A third-party cookie is one set by, or sent to, a domain different from the site the visitor is on — typically by an embedded script, image or iframe. Because the same third party is embedded across many sites, it sees the same cookie on each, which is what made cross-site tracking work. Browsers have been restricting them for years: Safari and Firefox block them by default, and the wider industry is building replacements for the uses that are not tracking.

First-party and third-party

The distinction is contextual, not a property of the cookie. The same cookie is first-party when the visitor is on that site and third-party when it is set through an embed elsewhere.

A visitor on a news site loading an advertisement from another domain: the advertiser's cookie is third-party.

That same advertiser's own website sets the same cookie as a first-party cookie.

What made tracking possible was embedding: one identifier, recognised across every site carrying the same embed.

A cookie set in the third-party context is also stored separately from the one the same domain sets as first party in browsers that partition, so the two can coexist with different values.

What browsers have done

Safari's Intelligent Tracking Prevention has blocked third-party cookies by default since 2020.

Firefox's Total Cookie Protection partitions them: a third party gets a separate cookie jar per site, so the same embed on two sites sees two unrelated identifiers.

Chrome has restricted them for a share of users and shipped the CHIPS partitioning mechanism, while the full deprecation timeline has changed repeatedly.

Partitioning rather than blocking is the direction of travel: the cookie still works within one site, and it no longer links behaviour across sites.

The legitimate uses and what replaces them

Embedded payment forms, single sign-on frames, chat widgets and video players that need state within one site: `Partitioned` cookies, the CHIPS mechanism, provide exactly that.

Federated login: the Federated Credential Management interface replaces the iframe-and-cookie pattern with a browser-mediated flow.

Cross-site analytics attribution: the Attribution Reporting proposals provide aggregated measurement without an identifier.

Each replacement deliberately does less than a third-party cookie did, because the capability being removed is exactly the one that enabled tracking.

How to see what a page sets

The browser's Application panel lists cookies by the domain that set them; anything not on the page's own domain is third-party in that context.

The network panel filtered by domain shows which embedded origins are contacted, which is the same list from the other direction.

Loading the page in a browser that blocks them by default shows what breaks, which is the practical test.

Check which of them are set before any consent is given, since that is a compliance question independent of whether browsers still allow them.

Compare across browsers. A feature that works in one and silently fails in another is almost always a third-party cookie meeting a different default, and testing in a single browser will never show it.

Frequently asked questions

Are third-party cookies blocked everywhere?
Safari and Firefox block or partition them by default. Chrome has restricted them for a share of users, and its full deprecation timeline has shifted repeatedly.
What is a partitioned cookie?
A third-party cookie stored separately per top-level site, so the same embed on two sites cannot recognise the same visitor across them.
Will removing third-party cookies break my payment iframe?
It can, if it relies on unpartitioned state. The Partitioned attribute is the supported replacement for state needed within one site.

Sources

Related

VeriFixScan crawls a site and applies its checks to every page it reaches, keeping the evidence behind each finding. Scanning one website is free.

Scan a website