ArticleslgStudy

science

Cookie stuffing

Cookie stuffing is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Cookie stuffing rather than just read about it. In short: Cookie stuffing is a deceptive tactic in affiliate marketing. In affiliate marketing, individuals (affiliates) are compensated for enticing consumers to buy products through specially crafted URLs that set cookies on users' browsers to track which affiliate referred the user to the site.

Cookie stuffing — main illustration
Cookie stuffing — illustration

Key takeaways

  • Cookie stuffing belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Cookie stuffing to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Cookie stuffing from memory before moving on to harder problems.

Reference excerpt

Cookie stuffing is a deceptive tactic in affiliate marketing. In affiliate marketing, individuals (affiliates) are compensated for enticing consumers to buy products through specially crafted URLs that set cookies on users' browsers to track which affiliate referred the user to the site. Affiliates engaging in cookie stuffing use invasive techniques, like pop-up ads, to falsely claim credit for sales that they did not facilitate. Many affiliate marketing programs prohibit cookie stuffing, considering it fraudulent. It causes retail companies to lose revenue, potentially leading to higher prices for consumers and lost sales for legitimate affiliates. In 2014, Shawn Hogan, a prominent figure in eBay's affiliate program was convicted of wire fraud for engaging in cookie stuffing and received a five-month-long federal prison sentence along with a $25,000 fine. However, despite occasional high-profile cases, researchers in 2015 found that cookie stuffing remains rare and most users do not encounter it frequently.

Background Affiliate marketing is a strategy employed by online retailers like GoDaddy, Amazon, and eBay to amplify website traffic. In the framework, third-party entities, or affiliates, receive compensation for promoting the retailer's products, aiming to increase sales of promoted products. The entry barrier for affiliates is very low, making affiliate marketing an accessible revenue model for those establishing a website without significant assets or brand recognition. The compensation model for affiliate marketing is predominantly performance-based, operating on a cost-per-sale structure where affiliates are paid only upon the successful purchase of the advertised product. This compensation model serves as a safeguard against potential fraud as it only requires a payment after a confirmed sale. The advantage of affiliate marketing lies in this perceived reduction of fraud risk compared to alternative advertising models. The efficacy of this risk reduction, however, hinges on the affiliate's ability to robustly track sales. In reality, tracking by affiliates often falls short, paving the way for deceptive practices such as cookie stuffing.

Mechanism

Retailers use third-party cookies to track purchases driven by affiliates. Affiliates place advertisements on their website that contain specially crafted URLs. When users click on the link, a cookie is stored on the user's browser. Later, if the user continues with a purchase from the retailer, the merchant reads this cookie to identify which affiliate will receive a commission for the sale. Cookie stuffing works by tricking the browser into setting this cookie without the user clicking an affiliate link. Cookie stuffing can be done by embedding web pages in other web pages or via ads that open in separate windows without the user's knowledge. Later, if the user happens to purchase a product on that retailer's website, the retailer will pay a commission for the sale due to the presence of the cookie, even though the affiliate did not drive a sale.

Techniques Fraudulent affiliate marketers use multiple techniques to perform cookie stuffing. In a 2015 study covering 11,700 domains that had engaged in cookie stuffing, Chachra et al. found that over 91% of websites used redirects. This was manifested in the form of Hyper Text Transfer Protocol (HTTP) redirects (i.e., the use of the 302 and 301 status codes to redirect users to a different domain) or the use of Flash or JavaScript to redirect users. Other techniques used by fraudulent affiliates include using iframes to embed the online marketer's website in the code or using scripts and image tags to request specific resources that would set the cookie for the affiliate on the destination website. In the same study, Chachra et al. found that over 84% of cookies set by fraudulent marketers employed referrer obfuscation to hide their activities from retail websites. The referrer header is a HTTP header set by the browser that is often used by affiliates to determine the legitimacy of requests from affiliate marketing websites. Fraudulent marketers would set up websites referencing an image or a JavaScript file from an innocuous-looking domain. This domain would then redirect to multiple other domains before arriving at the destination affiliate website. By redirecting the user through several innocuous-looking domains, the fraudulent marketer can trick the browser into setting the wrong website in the referrer header of the request being made to the affiliate website, making it harder for the affiliate marketing firm to track down the source of the request. Another technique used by some malicious entities includes hijacking or publishing malicious browser extensions on the Chrome and Firefox extension stores. By modifying requests sent to online retailers and setting cookies or redirecting users to affiliate websites on startup, the malicious extension can trick online marketers into thinking that the user legitimately clicked on an affiliate link to navigate to their marketplace.

Legality

… excerpt ends here. Continue reading the full article.

Illustrations

Cookie stuffing illustration
Cookie stuffing illustration
Cookie stuffing: Brian Dunning defrauded eBay through cookie stuffing in 2006 and 2007.
Brian Dunning defrauded eBay through cookie stuffing in 2006 and 2007.

Worked examples

Example 1 — a first encounter with Cookie stuffing

Start with the simplest possible case. Write down what Cookie stuffing claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Cookie stuffing before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Cookie stuffing ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Cookie stuffing

In research
Cookie stuffing appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Cookie stuffing in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Cookie stuffing is common in secondary-school and first-year university syllabi. It links to neighbouring topics Black hat search engine optimization, Client-side web security exploits, so understanding it makes those chapters shorter.
In everyday life
Look for Cookie stuffing outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Cookie stuffing” →

How to study Cookie stuffing in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Cookie stuffing means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Cookie stuffing out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Cookie stuffing in simple terms?

Cookie stuffing is a deceptive tactic in affiliate marketing. In affiliate marketing, individuals (affiliates) are compensated for enticing consumers to buy products through specially crafted URLs that set cookies on users' browsers to track which affiliate referred the user to the site.

Why does Cookie stuffing matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Cookie stuffing?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Cookie stuffing.

Tags

  • Black hat search engine optimization
  • Client-side web security exploits

Keep exploring