Skip to content

Privacy

Third-party cookie

A third-party cookie is a cookie set by a domain other than the one in the browser's address bar, typically by an ad, social or embed script loaded on the page. Because the browser sends it back on every site that loads the same script, it lets that third party recognise one person across many sites.

Also called third-party cookies, 3PC, cross-site cookie Updated

How is it calculated?

Whether a cookie is first-party or third-party depends on the domain it belongs to, compared with the site the person is visiting. On shop.example, a cookie for shop.example is first-party. A cookie for ads.example, set by an image, iframe or script fetched from ads.example, is third-party. You can see which is which in your browser’s developer tools under Application, Cookies, where each cookie lists its domain.

Browser support is split. WebKit’s tracking prevention documentation says Safari blocks all third-party cookies by default, with access only through the Storage Access API. Firefox’s Total Cookie Protection partitions them per site by default for desktop users, giving every site its own cookie jar. Chrome keeps them on unless the user turns them off: Google confirmed in April 2025 it would not roll out a new standalone prompt.

Example

  • 14 cookies
  • 5 on the store's own domain
  • 9 third-party

An online store embeds a video player, a chat widget and an ad pixel. Opening the developer tools shows 14 cookies: 5 on the store’s own domain and 9 on the three vendors’ domains. Those 9 are third-party. In Safari the 9 are blocked, so the ad pixel’s conversion count from Safari visitors falls, while the store’s own 5 cookies keep working.

Common mistakes

  • Assuming every analytics cookie is third-party. Most analytics tools set a first-party cookie on your domain; it still needs consent in the EU when it is not strictly necessary.
  • Expecting the same numbers from every browser. A report that relies on third-party cookies undercounts Safari and Firefox visitors.
  • Treating the decline of third-party cookies as the end of tracking. Fingerprinting and server-side id sharing are used to replace them.

How CrispStats shows it

CrispStats sets no cookies at all, first-party or third-party, and stores nothing on the visitor’s device in its default setup. Because counting does not depend on cookies, Safari and Firefox visitors are counted the same way as Chrome visitors. The script is loaded from CrispStats’s own domain, or from yours through a first-party proxy, and in neither case sets a cookie.

  • CookiesNever storedThe script sets none and writes nothing to the device.
  • IP addressesNever storedHeld in memory for a moment to count the visit and limit abuse. Never stored or logged.
  • Raw user agentsNever storedReduced to a browser, OS and device family. The string is not kept.
  • A lasting identityNever storedA visitor is a hash that rotates daily. Each salt is deleted 35 minutes after its day ends, so past days cannot be recomputed.

Your traffic, crisp and clear

One script, no cookies, and every feature from the first day. Set up takes about as long as pasting a snippet.