Third-party cookies

Short description: HTTP cookies used principally for web tracking

Third-party cookies are HTTP cookies which are used principally for web tracking as part of the web advertising ecosystem.

While HTTP cookies are normally sent only to the server setting them or a server in the same Internet domain, a web page may contain images or other components stored on servers in other domains. Third-party cookies are the cookies that are set during retrieval of these components.

A third-party cookie thus can belong to a domain different from the one shown in the address bar, yet can still potentially be correlated to the content of the main web page, allowing the tracking of user visits across multiple websites.

This sort of cookie typically appears when web pages feature content from external websites, such as banner advertisements. Although not originally intended for this purpose, the existence of third party cookies opened up the potential for web tracking of a user's browsing history and is used by advertisers to serve relevant advertisements to each user. Third-party cookies are widely viewed as a threat to the privacy and anonymity of web users.

As of 2024[update], all major web browser vendors had plans to phase out third-party cookies. This decision was reversed for Google Chrome in July 2024.[1]

## Contents

* 1 Mechanism
* 2 Privacy law and cookie consent dialogs
* 3 Blocking third-party cookies
* 4 Replacements
* 5 Circumvention of blocking of third party cookies
* 6 References

## Mechanism

In this fictional example, an advertising company has placed banners in two websites. By hosting the banner images on its servers and using third-party cookies, the advertising company is able to track the browsing of users across these two sites.

As an example, suppose a user visits `www.example.org`. This website contains an advertisement from `ad.foxytracking.com`, which, when downloaded, sets a cookie belonging to the advertisement's domain (`ad.foxytracking.com`). Then, the user visits another website, `www.foo.com`, which also contains an advertisement from `ad.foxytracking.com` and sets a cookie belonging to that domain (`ad.foxytracking.com`). Eventually, both of these cookies will be sent to the advertiser when loading their advertisements or visiting their website. The advertiser can then use these cookies to build up a browsing history of the user across all the websites that have ads from this advertiser, through the use of the HTTP referer header field.

As of 2014[update], some websites were setting cookies readable for over 100 third-party domains.[2] On average, a single website was setting 10 cookies, with a maximum number of cookies (first- and third-party) reaching over 800.[3]

The older standards for cookies, RFC 2109[4] and RFC 2965,[5] recommend that browsers should protect user privacy and not allow sharing of cookies between servers by default. However, a newer standard, RFC 6265,[6] released in April 2011 explicitly allowed user agents to implement whichever third-party cookie policy they wish, and until the late 1990s allowing third party cookies was the default policy implemented by most major browser vendors.

## Privacy law and cookie consent dialogs

While useful for advertisers, web tracking is widely seen as a threat to personal privacy. This prompted the creation of laws against tracking without user consent, the most notable of which is the European GDPR.[7]

This led to the creation of "cookie consent" dialogs, which rapidly became a standard feature across advertising-funded (and many other) websites, and notable for their use of dark patterns to attempt to force users to allow tracking by making it hard for them to refuse to grant consent.

Some websites also responded by simply geoblocking users from countries with privacy-friendly laws.

## Blocking third-party cookies

Most modern web browsers contain privacy settings that can block third-party cookies, and some now block all third-party cookies by default - as of July 2020, such browsers include Apple Safari,[8] Firefox,[9] and Brave.[10] Safari allows embedded sites to use the Storage Access API to request permission to request first-party cookies when the user interacts with them.[11] In May 2020, Google Chrome 83 introduced new features to block third-party cookies by default in its Incognito mode for private browsing, making blocking optional during normal browsing. The same update also added an option to block first-party cookies.[12] Google planned to start blocking third-party cookies by default in late 2024, and in January 2024 started this process with a pilot scheme in which blocking has been implemented for 1% of all Chrome users.[13][14]

## Replacements

Since third-party-cookie-based web tracking was an essential part of the existing web advertising ecosystem, multiple proposals are being implemented to try to replace it.

Google proposes the use of browser-based interest targeting, in which users' interests can be recorded locally by the browser, and then signalled to advertising servers without directly revealing the user's identity. Google's Privacy Sandbox is one such implementation.

Other approaches include the use of browser fingerprinting to track users across sites, which is generally viewed as being as bad a threat to privacy as third-party cookies. There are also concerns that interest-based tracking may itself be abused to fingerprint users.

## Circumvention of blocking of third party cookies

A number of methods exists for circumventing the blocking of third-party cookies. One is for the operators of websites to point a DNS name within the site's own domain at an advertiser's server, thus in effect making cookies set on that server first-party cookies from the viewpoint of the browser while still providing a third party with control over the cookie information.

Another approach is for the website operator to proxy traffic from the client to the tracking service's servers. As this would easily allow the website operator to serve false information to the tracking service, this is unlikely to be widely adopted.

## References

1. ↑ "Google reneges on plan to remove third-party cookies in Chrome - CBS News" (in en-US). 2024-07-22. https://www.cbsnews.com/news/google-third-party-cookies-chrome/.
2. ↑ "Third party domains". WebCookies.org. http://webcookies.org/third-party-cookies/.
3. ↑ "Number of cookies". WebCookies.org. http://webcookies.org/number-of-cookies/.
4. ↑ HTTP State Management Mechanism, sec. 8.3, doi:10.17487/RFC2109, RFC 2109, https://tools.ietf.org/html/rfc2109#section-8.3
5. ↑ HTTP State Management Mechanism, doi:10.17487/RFC2965, RFC 2965, https://tools.ietf.org/html/rfc2965
6. ↑ HTTP State Management Mechanism, doi:10.17487/RFC6265, RFC 6265, https://tools.ietf.org/html/rfc6265
7. ↑ "Art. 4 GDPR – Definitions". https://gdpr-info.eu/art-4-gdpr/.
8. ↑ Statt, Nick (2020-03-24). "Apple updates Safari's anti-tracking tech with full third-party cookie blocking" (in en). https://www.theverge.com/2020/3/24/21192830/apple-safari-intelligent-tracking-privacy-full-third-party-cookie-blocking.
9. ↑ "Firefox starts blocking third-party cookies by default" (in en-US). 2019-06-04. https://venturebeat.com/2019/06/04/firefox-enhanced-tracking-protection-blocks-third-party-cookies-by-default/.
10. ↑ Brave (2020-02-06). "OK Google, don't delay real browser privacy until 2022" (in en-US). https://brave.com/ok-google/.
11. ↑ "Introducing Storage Access API". 21 February 2018. https://webkit.org/blog/8124/introducing-storage-access-api/.
12. ↑ Protalinski, Emil (19 May 2020). "Chrome 83 arrives with redesigned security settings, third-party cookies blocked in Incognito". https://venturebeat.com/2020/05/19/google-chrome-83/.
13. ↑ "Google now delays blocking 3rd-party cookies in Chrome to late 2024". Business Standard India. 28 July 2022. https://www.business-standard.com/article/technology/google-now-delays-blocking-3rd-party-cookies-in-chrome-to-late-2024-122072800244_1.html.
14. ↑ "Google Chrome starts blocking data tracking cookies" (in en-GB). BBC News. 2024-01-04. https://www.bbc.com/news/technology-67882315.

* v
* t
* e

Web browsers

Features * standards * protocols

| Features|

* Bookmarks
* Extensions
* Privacy mode
* Sync

|

Web standards|

* HTML
* v5
* CSS
* DOM
* JavaScript
* IndexedDB
* Web storage
* WebAssembly
* WebGL

Protocols|

* HTTP
* v2
* v3
* Cookies
* Encryption
* OCSP
* WebRTC
* WebSocket

Active

| Blink-based|

* Avast Secure Browser
* Beaker
* Blisk
* Brave
* Chrome
* Chromium
* Coc Coc
* Dragon
* Epic
* Falkon
* Kinza
* Maxthon
* Opera
* Otter
* Puffin
* SalamWeb
* Samsung Internet
* Silk
* Sleipnir
* Sputnik
* SRWare
* Torch
* UC
* Vivaldi
* Whale
* Yandex

|

Gecko-based|

* Firefox
* GNU IceCat
* IceDragon
* K-Meleon
* PirateBrowser
* SeaMonkey
* TenFourFox
* Tor
* Waterfox

WebKit-based|

* Dolphin
* Dooble
* GNOME Web
* iCab
* Konqueror
* Midori
* Safari
* surf

Other|

* 360
* Avant
* Basilisk
* CM Browser
* Edge
* eww
* Internet Explorer
* Links
* Lunascape
* Lynx
* NetFront
* NetSurf
* Pale Moon
* QQ browser
* qutebrowser
* SlimBrowser
* w3m

Discontinued

| Gecko-based|

* Beonex Communicator
* Camino
* Classilla
* Conkeror
* Galeon
* Ghostzilla
* Kazehakase
* Kylo
* Lotus
* MicroB
* Minimo
* Mozilla suite
* Pogo
* Strata
* Swiftfox
* Swiftweasel
* Timberwolf
* xB

|

Trident-based|

* AOL
* Deepnet
* GreenBrowser
* MediaBrowser
* MenuBox
* NeoPlanet
* NetCaptor
* SpaceTime
* UltraBrowser
* WebbIE
* ZAC

WebKit-based|

* Arora
* BOLT
* Opera Coast
* Flock
* Fluid
* Google TV
* Iris
* Mercury
* OmniWeb
* Origyn
* QtWeb
* rekonq
* Rockmelt
* Shiira
* Steel
* Browser for Symbian
* Uzbl
* WebPositive
* xombrero

Other|

* abaco
* Amaya
* Arachne
* Arena
* Blazer
* Charon
* Deepfish
* Dillo
* ELinks
* Gazelle
* HotJava
* IBM Home Page Reader
* IBM WebExplorer
* IBrowse
* KidZui
* Line Mode
* Mosaic
* MSN TV
* NetPositive
* Netscape
* Skweezer
* Skyfire
* Teashark
* ThunderHawk
* Vision
* WinWAP
* WorldWideWeb

* Category
* Comparisons
* List

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Third-party cookies. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Third-party_cookies&oldid=3989006"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template