A third-party cookie is a cookie set by a domain other than the one shown in the browser's address bar. If a user visits shop.example.com and an embedded ad from adnetwork.com sets a cookie, that cookie is third-party. They have historically powered cross-site tracking, retargeting, conversion attribution, and frequency capping.
As of 2026, every major browser restricts them, though to different degrees: Safari and Firefox block third-party cookies by default; Chrome — after multiple delays of its deprecation plan — announced in April 2024 that it would not remove them, instead giving users a choice in privacy settings.
| Browser | Default behavior | Mechanism | Since |
|---|---|---|---|
| Safari | Blocked | Intelligent Tracking Prevention (ITP) | March 2020 (full block) |
| Firefox | Partitioned per-site | Total Cookie Protection | June 2022 |
| Brave | Blocked | Built-in shields | 2018 |
| Edge | Allowed (Strict mode blocks) | Tracking Prevention | 2020 |
| Chrome | Allowed; user-choice prompt | Privacy Sandbox | April 2024 reversal |
| Use case | Recommended alternative |
|---|---|
| Interest-based advertising | Topics API (Privacy Sandbox) |
| Retargeting / remarketing | Protected Audience API (formerly FLEDGE) |
| Conversion attribution | Attribution Reporting API |
| Federated login (Sign in with...) | FedCM (Federated Credential Management) |
| Embedded widgets needing state | CHIPS — partitioned cookies (Partitioned attribute) |
| Analytics | First-party analytics (Plausible, Fathom, server-side GA4) |
| Cross-domain session sharing | SSO with token exchange, not cookies |
| Frequency capping | Shared Storage API + Private Aggregation |
Set-Cookie in response headers to catch dynamically set cookies.CHIPS (Cookies Having Independent Partitioned State) lets a third-party iframe keep its own cookie jar per top-level site — useful for embeds like chat widgets, payment iframes, and CMS previews that need state but should not track across sites.
# Set a partitioned cookie from your embed origin
Set-Cookie: __Host-session=abc123;
Path=/;
Secure;
HttpOnly;
SameSite=None;
PartitionedWith Partitioned, the cookie is keyed to the top-level site. Your widget on siteA.com cannot see the cookie set on siteB.com — solving the use case without the tracking.
SameSite=None without Secure# Bad — rejected by every modern browser since Feb 2020
Set-Cookie: id=abc; SameSite=None
# Good
Set-Cookie: id=abc; SameSite=None; SecureForcing users to accept all cookies before viewing the site is illegal under GDPR (EDPB Guidelines 05/2020) and CNIL guidance. Users must be able to refuse without losing access.
Ruled invalid in the CJEU's Planet49 decision (October 2019). Consent must be a clear affirmative action.
// Bad — Google Analytics loads on page load, before consent
<script src="https://www.googletagmanager.com/gtag/js?id=G-XXX"></script>
// Good — gate the script behind a consent check
if (userHasConsented('analytics')) {
loadScript('https://www.googletagmanager.com/gtag/js?id=G-XXX');
}Since March 2024, Google requires Consent Mode v2 for advertisers serving EEA traffic. Without it, conversion data is dropped.
No, but they are unreliable. Safari and Firefox have blocked them for years; Chrome still allows them but behind a user prompt. Building anything critical on third-party cookies is risky.
No. After multiple delays (originally planned for 2022), Google announced in April 2024 that Chrome will keep third-party cookies and instead let users decide via a one-time prompt, alongside Privacy Sandbox APIs.
CHIPS (Cookies Having Independent Partitioned State) is a web standard that lets a third-party set a cookie scoped to one top-level site. It enables embeds to work without enabling cross-site tracking.
Yes if those cookies are non-essential (analytics, marketing). GDPR and ePrivacy regulate the purpose, not the party. Strictly necessary cookies (auth, cart) are exempt from consent.
Not if you switch to first-party analytics or server-side GA4. Plausible, Fathom, Simple Analytics, and Matomo work without any third-party cookies.
Blocking refuses to set the cookie at all (Safari). Partitioning still sets it but isolates it per top-level site (Firefox Total Cookie Protection, Chrome CHIPS), so the cookie cannot follow the user across sites.
Mostly. ITP shortens the lifetime of first-party cookies set via JavaScript on Safari to 7 days. Cookies set by HTTP headers from your own server are unaffected.
Yes, indirectly. AI crawlers from ChatGPT, Perplexity, and Google AI Overviews do not carry user cookies, so any content gated or personalized via third-party cookies is invisible to them. Sites that depend on cookie-based personalization to serve their primary content may end up showing a degraded or empty experience to AI bots, which hurts citation accuracy and the odds of being referenced. Move critical content out from behind cookie-gated logic so AI search engines see the same page a logged-out human would.
Third-party cookies are not gone, but the ground has moved: two of the three biggest browsers block them by default, and the third lets users opt out. Plan as if every visitor refuses them. Move analytics first-party, swap retargeting for Protected Audience, use CHIPS for legitimate embeds, and gate every non-essential tag behind real consent. The sites that finish this transition early collect cleaner data and avoid GDPR exposure. Run a Greadme deep scan to identify third-party cookie use across your site and surface the pages most exposed to browser blocking and consent gaps.