Blog · News
Third-party vs first-party cookies: what is the difference?
Contents
Technically, a third-party cookie and a first-party cookie are the same kind of file. The only difference is the domain that creates them: the site being visited, or someone else. Everything else follows from that difference, including the fact that one is blocked by default across part of the web and the other never has been.
A reminder before going into detail: a web server has no memory of its own. The cookie is what lets a site “remember” what someone has done, from one page to the next and from one visit to the next. That is how it became central to online advertising, and not only to advertising.
The third-party cookie: created by someone other than the site you visit
As the name suggests, a third-party cookie is set and read by a company other than the one whose pages you are reading. The browser then sends it back to that company on every site where it is present, which is exactly why it is valuable to marketers.
It has three uses:
- cross-site tracking, collecting browsing activity across many sites to piece together a person’s behaviour;
- targeting and retargeting, where the observed activity is used to reach a person again with ads for the products they looked at;
- ad serving, which decides which ad appears and when, and reports impressions and clicks back to advertisers.
These three uses have one thing in common: they do not serve the person visiting the site, they serve to recognise that person elsewhere. That explains what came next.
The first-party cookie: created by the domain you visit
A first-party cookie is generated by the host domain, that is, by the site the person chose to open. It lets the browser keep a piece of information useful to that site and to that site alone: the items in a basket, a session ID, a saved password, a language preference.
These are the cookies that make a basket abandoned on Monday still be there on Wednesday. They are also used for the site’s audience measurement and to remember its settings.
Two practical consequences set them apart from third-party cookies: ad blockers do not target them, and they are not affected by the end of third-party data on Safari, Firefox or Chrome.
The difference at a glance
| First-party cookie | Third-party cookie | |
|---|---|---|
| Set by | the domain of the site visited | another domain present on the page |
| Used to | run the site, measure its audience | recognise the same person from one site to another |
| Scope | a single domain | every site where the third party is present |
| On Safari and Firefox | works, with a capped lifetime when set by a script | blocked by default |
| On Chrome | works | still works, contrary to what was announced for six years |
Where the end of third-party cookies stands
This is where this page needs correcting: it was written in January 2024, and at the time it said Google would remove third-party cookies from Chrome “by September 2024”. That did not happen, and the real picture is more fragmented than the forecast.
- Safari and Firefox block them by default. The shift began in 2017, and Safari moved to full blocking in March 2020. Brave blocks them too. On these browsers, the question has been settled for years.
- Chrome has not removed them. After six years of successive announcements, Google confirmed in April 2025 that it would keep the existing settings (opens in a new window).
- The announced replacement has not arrived. Most Privacy Sandbox technologies, presented as the successors to third-party cookies, were wound down in October 2025.
So the conclusion is neither “cookies are disappearing” nor “cookies have been saved”. It is more precise, and it concerns only one of the two: what has become difficult is recognising someone from one site to another without their wanting it. What has never been in question is a brand’s relationship with people on its own domain.
The first-party cookie does have its own ceiling, which should not be confused with blocking: when set by a script, its lifetime is limited to seven days on Safari. The details are in the article on Apple’s measures.
What the difference changes for measurement
Eulerian’s solutions have relied on first-party data collection since the company was founded in 2006. This is not a reaction to the deprecation of third-party cookies: it is the original architecture, and it is what allowed the use cases that depend on it to survive the browsers’ changes.
These use cases are the ones the third-party cookie handled elsewhere: tracking a journey across several touchpoints, targeting and retargeting, measuring campaign performance and analysing journeys. Today they run on server-side first-party collection and on an identifier the person has provided.
Further reading
- What is a computer cookie?: the definition, its uses for internet users and for marketers, and the consent the CNIL (the French data protection authority) requires.
- First-party data collection: what becomes of data collection that no longer depends on a cookie written by a script.
- Ad blockers, ITP, browser blocking: the situation browser by browser, and what each type of blocking really costs.
- Cookies, ad blockers, GDPR: how to avoid losing data: the three places where data collection loses data, and the common answer to all three.