Third-party cookies

A third-party cookie is set by a domain other than the one in your address bar, typically an ad network or social widget embedded in the page. Because the same third party is embedded on many sites, its cookie can follow one browser across all of them. Safari has blocked third-party cookies by default since March 2020.

By the Onfus teamUpdated 17 November 2026

Third-party cookies

Definition
Cookies set by a domain other than the site you're visiting, mostly used for ads and cross-site tracking.

How do third-party cookies work?

A page on site A loads a script or image from domain X. Domain X sets a cookie in its own name. When the same browser visits site B, which also loads domain X, X reads the same cookie and knows it's the same browser.

Third-party cookie
Works across sitesYes
Stored on the deviceYes
First-party cookie
Works across sitesNo
Stored on the deviceYes
Cookieless daily hash
Works across sitesNo
Stored on the deviceNo

Third-party cookies vs the alternatives

Questions about third-party cookies.

Does web analytics need third-party cookies?

No. Analytics only needs to count visits to one site. Tools either use first-party cookies or, like Onfus, no cookies at all.

How does Onfus handle it?

Onfus never sets third-party cookies. By default it sets no cookies at all; revenue attribution adds one first-party cookie only when you turn it on.

Which browsers block third-party cookies?

Safari blocks them by default (since March 2020, per the WebKit blog). Other browsers have their own policies, which change over time.

Sources

Read on 17 November 2026. Follow the links for the current wording.

Know what to fix by tomorrow.

Paste one line and start tracking in a minute. See where visitors drop off and what to fix. Free for 14 days, no cookie banner.