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.