Jump to content

Web cookie

From Consumer Rights Wiki

⚠️This article has been marked as incomplete. Sourcing or verifiability needs additional work.

A moderator needs to check the page before this notice can be removed. Visit the noticeboard or the #appeals channel in either Zulip or Discord to request removal.
More info ▼

Articles must provide verifiable, credible evidence for their claims and avoid relying on forum posts, personal blogs, or other unverifiable sources. You can help by replacing weak citations with reputable reporting, corporate communications, receipts, repair logs, or independent investigative coverage that demonstrates the systemic relevance required by the Mission statement and Moderator Guidelines.

A web cookie is a chunk of data that is served to a client (i.e. web browser) and stored in the client's storage until it expires or is cleared.

Web cookies can be used for a variety of purposes, one of the most common being a session cookie which is served upon logging into a website. The browser sends the session cookie back to the website's server each time authentication is requested, preventing the need for the user to log in multiple times.

The web cookie has many other common names, such as "HTTP cookie" (when set via that protocol), "browser cookie" (more general, can be set via JavaScript)[1], and "cookie". For the sake of simplicity this article will be using the term "cookie" to represent all types of cookies.

How it works

[edit | edit source]

When a user visits a website, they may be first prompted with user preferences, such as which data can be used by the website. That information is stored by the browser agent as a cookie, so the user will not be prompted again.

Cookies are often a good practice, as they can be used to offer users a better experience when navigating a site. There are other types of cookies that also exist, but for now we will focus on a few categories that these cookies fall under.

Cookie Type Use Case Risk
Form Cookie When using a site you may be required to fill out a form field, that information can be stored by your user-agent (UA) when making a purchases or even renewing your licence, making the experience more streamlined the next time you plan on making additional purchases on a website like that. Depending on implementation, such as if cookies are not properly encrypted by your browser and site, you may be at risk if a malicious actor decides to swipe your cookies, which could also include password and saved payment information
3rd Party Cookie These cookies can be used when companies have different registered domains or transferring the user, to prevent annoying information duplication, or joint partner domains that may be working with a third-party vendor. However these cookies are more often than not used as tracking indicators about user behavior and what other sites they visit. Considering the risk is it worth having third-party cookies that silently track you? Many companies and brokers are ramping up their usage of tracking users with this metric along with browser fingerprinting to serve you targeted ads based on what pages you look at or search for
Authentication Cookie Are often tied to accounts that you use to prevent having to re-login each time you need to do an action with your account. These are usually stored as session cookies, which generally have a shorter lifespan or even expire after your tab session has ended with the browser These tend to be less risky, in cases where these tokens are stored short-term and encrypted, can provide you with much needed convenience. But if your browser may be compromised by malware (such as a scam browser extension) your session cookies can be hijacked and used to access your account
Tracking Cookie Cookies with typically no material benefit to the user which can be used to track sites performance and metrics based on reoccurring traffic and visits made, with minimal overhead Usually, sites that try to access third-party cookies (to learn more about you) will also be adding their own. With this information, they can calculate value-based pricing and targeted products that you may have recently looked at in previous weeks or days, with a FOMO offer discount
Preference Cookie Often, the least sensitive cookie on a site. This can be used to store specific preferences like a footer dismissal to how many results should show from a search to provide better functionality and efficiency, especially if the site has no account system. While this could possibly be used to track you, the information doesn't necessarily give you away. Since many that do implement this are domain-specific cookies and not third-party cookies, as referenced earlier

Why it is a problem

[edit | edit source]

Targeted advertising

[edit | edit source]
Main article: Personalized ads

Cookies are the primary mechanism by which advertising networks build profiles of individual users. When a user visits multiple sites that embed content from the same ad network, the network sets a cookie that is shared across those sites, allowing it to associate the user's browsing activity into a single profile. This profile can then be used to select advertisements based on inferred interests, demographics, and purchase intent, a practice known as targeted advertising or behavioural advertising.

The advertising ecosystem is materially dependent on this mechanism. A peer-reviewed study of publisher advertising revenue found that removing third-party cookies reduced revenue by 29.1%, with Google's Privacy Sandbox recovering only a small fraction of the loss.[2]

Because third-party cookies allow advertisers to follow users across sites, they are treated as personal data under regulations such as the GDPR, which has produced consent banner requirements in the European Union and the United Kingdom. Browser vendors have also moved against them: Google announced in 2020 that Chrome would phase out third-party cookies, reversed course in July 2024, and confirmed in April 2025 that third-party cookies would remain available by default, managed through browser settings rather than a dedicated prompt.[3] In response, parts of the advertising industry have shifted towards alternatives such as browser fingerprinting and cohort-based advertising, which aim to achieve similar targeting outcomes without third-party cookies.[4]

Value based pricing

[edit | edit source]
Main article: Value based pricing

Cookies can enable retailers to charge different users different prices for the same product, a practice known as value-based pricing or price discrimination. By using cookies to identify returning visitors, estimate willingness to pay, or detect repeated interest in a product, retailers and pricing platforms can adjust displayed prices dynamically.

The empirical evidence for how widespread this is remains mixed. A 2018 European Commission study that compared prices shown to shoppers whose characteristics could be observed against prices shown to those whose could not found no consistent, systematic price differences across the sites tested, though it found stronger signs of personalisation in markets such as hotels and airline tickets.[5] A 2022 joint investigation by Consumers International and the Mozilla Foundation took a different approach, surveying prices quoted to consumers directly, and found very strong evidence of personalised pricing in the markets it covered, with consumers in a single country quoted dozens of different price points for the same service.[6]

A related practice uses cookies to detect abandoned shopping carts or repeat product views, then triggers retargeting advertisements and time-limited discounts to pressure a purchase.[7] When combined with fear of missing out tactics, this targets users at moments when their interest in a product is judged to be highest. Research on cart abandonment retargeting has also found that consumers can learn to exploit it, deliberately abandoning carts to obtain discounts.[7]

Cross website tracking

[edit | edit source]

Cross website tracking refers to the practice of following a user's activity across multiple unrelated websites, which is not possible through first-party cookies alone. Third-party cookies embedded by analytics providers, advertising networks, and social media platforms make this linkage possible by giving a single operator visibility into a user's visits to every site that includes their content.

The resulting data is valuable beyond advertising. Profiles assembled through cross-site tracking are sold to data brokers, who aggregate them with other sources such as public records, purchase histories, and location data to build detailed dossiers on individuals, sometimes containing thousands of data points per person.[8] A Federal Trade Commission investigation into nine major data brokers found they collected personal information about consumers largely without their knowledge, built profiles and inferences from it, and sold products derived from those profiles.[9] Users generally cannot inspect or correct these profiles, and are frequently unaware they exist.

Because cross-site tracking depends on identifiers stored in the browser, browser vendors have introduced features to limit it: Safari blocks third-party cookies outright, while Firefox partitions cookies by site through its Total Cookie Protection so that a tracker embedded on many sites receives a different cookie from each.[10] Tracking operators have responded with fingerprinting-based techniques that do not rely on stored identifiers, and researchers analysing the top 100,000 websites found fingerprinting scripts present on roughly one in ten sites, served from thousands of domains.[11][4] This means the privacy risks of cross-site tracking persist even where third-party cookies are blocked.

Examples

[edit | edit source]
  • Honey using cookies to share new affiliate codes with other users; this also had included many private exclusive discount codes that employees or veterans got for shopping at stores, costing businesses tons of money
  • Microsoft placing cookie tracking on school student devices[12]
  • Imgur using tracking cookies to serve ads to users from third party sites
[edit | edit source]

References

[edit | edit source]
  1. ↑ "Document: cookie property". Mozilla Developer Network. 2025-11-30. Archived from the original on 2026-03-10. Retrieved 2026-03-15.
  2. ↑ "Can privacy technologies replace cookies? Ad revenue in a field experiment". Proceedings of the National Academy of Sciences. 2026. Retrieved 2026-10-30.
  3. ↑ "Google Chrome: Cookie deprecation explained". Stape. 2026-09-11. Archived from the original on 2026-03-28. Retrieved 2026-10-30.
  4. ↑ 4.0 4.1 "Characterizing Browser Fingerprinting and its Mitigations". arXiv. 2023. Archived from the original on 2025-10-12. Retrieved 2026-10-30.
  5. ↑ "Consumer market study on online market segmentation through personalised pricing/offers in the European Union (executive summary)" (PDF). European Commission. 2018. Archived from the original (PDF) on 2025-03-23. Retrieved 2026-10-30.
  6. ↑ "A consumer investigation into personalised pricing" (PDF). Consumers International and Mozilla Foundation. 2022-02-15. Archived from the original (PDF) on 2024-05-25. Retrieved 2026-10-30.
  7. ↑ 7.0 7.1 "Retargeting Using Advertising and Promotions" (PDF). Marketing Science Institute. 2021. Archived from the original (PDF) on 2024-07-15. Retrieved 2026-10-30.
  8. ↑ "Data Brokers". Privacy Rights Clearinghouse. Archived from the original on 2024-11-26. Retrieved 2026-10-30.
  9. ↑ "Data Brokers: A Call for Transparency and Accountability" (PDF). Federal Trade Commission. 2014-05-27. Archived from the original (PDF) on 2026-10-10. Retrieved 2026-10-30.
  10. ↑ "Browser Privacy Updates: What Each Browser Actually Blocks". GDPR Analytics. Archived from the original on 2026-10-30. Retrieved 2026-10-30.
  11. ↑ "Fingerprinting the Fingerprinters: Learning to Detect Browser Fingerprinting Behaviors". IEEE Symposium on Security and Privacy. 2021. Archived from the original on 2026-07-08. Retrieved 2026-10-30.
  12. ↑ Clark, Lindsay (2026-01-27). "Ruling: Microsoft illegally placed cookies on child's tech". The Register. Archived from the original on 2026-02-10. Retrieved 2026-03-16.