Access your interface

Enter your email address to access your personal interface.

← All articles

Blog · News

What is a computer cookie? Definition and uses

Contents

A cookie is a small text file that a site places in the browser, and that the browser sends back to it on the next visit. It does not contain an identity: it contains a value that lets the site recognise that it is dealing with the same browser as before.

Cookies have existed since 1994, yet they remain poorly understood by the people who accept or refuse them every day, which feeds both worry and misunderstanding.

First of all, it makes the site work. A cookie remembers a language, a location, a logged-in session, a basket in progress.

The basket is the most telling example. Someone visits a shoe site, puts a pair in their basket, closes the tab and comes back two days later: the basket is still there. It is not the site that “remembers” them; it is their browser that sent back the cookie placed during the first visit.

These cookies, known as strictly necessary, do not require consent, precisely because the service does not work without them.

From a marketing perspective, a cookie links visits together: it tells you that the same person came three times before buying, through which channel each time, and how much time passed in between.

Two distinct things rest on that continuity:

  • audience measurement, meaning visits, unique visitors, time spent and page views;
  • rebuilding a marketing history, without which attribution has nothing to allocate.

These uses, on the other hand, require prior consent, obtained before any cookie is placed. This has been the consistent position of the CNIL, the French data protection authority, and it has backed it with penalties: €150 million against Google and €60 million against Facebook in January 2022, on the issue of refusal alone.

First-party and third-party cookies: the distinction that decides everything

The word “cookie” covers two objects with very different fates:

  • a first-party cookie carries the domain name of the site visited, and serves that site;
  • a third-party cookie carries the domain of another player, and lets the same person be recognised from one site to the next.

It is the second kind that browsers have targeted, and only the second.

Where do things really stand?

In 2020, this article announced the imminent disappearance of cookies and the arrival of a “new concept” to replace them. Six years later, the situation is more mixed than the prophecy, and that is the useful update to this page:

  • Safari and Firefox block third-party cookies by default, since March 2020 for the former and in stages for the latter. On those browsers, the matter is settled.
  • Chrome has not removed them. The article said “even Google Chrome will follow, but only within two years”. After six years of successive announcements, Google confirmed in April 2025 that it would not remove them (opens in a new window) and would keep the existing settings.
  • The announced replacement will not arrive. Most of the Privacy Sandbox technologies, presented as the successors to third-party cookies, were retired in October 2025.
  • The first-party cookie was never in question, but its lifetime is capped when it is set by a script: seven days on Safari, sometimes 24 hours. The details are in the article on ITP.

So the practical conclusion is neither “cookies are disappearing” nor “cookies are saved”. It is more precise: what is disappearing is the ability to recognise someone from one site to another without their wanting it. What remains is the relationship a brand maintains on its own domain, with the person’s consent and, when they give one, an identifier they have provided.

That is why first-party collection has become the central issue, rather than an implementation detail.