AdPlexity spy tool: discover 150M+ winning ads. Up to 30% off, get the discount.
Wednesday, December 2, 2026Updated NewsletterAdvertise

Glossary

Cookie window

Definition

A cookie window, or cookie duration, is how long after a click a sale still earns you a commission. The program sets it: 24 hours at Amazon US and eBay, 30 days as Awin's industry standard. It holds only if the buyer uses the same browser, the cookie survives and nobody else's link is clicked later.

Also called: cookie duration, cookie life, cookie lifetime, attribution window, referral period.

A cookie window is the time after a click on your affiliate link during which a sale still earns you a commission. If the program has a 30-day cookie window and the reader buys on day 12, the sale is yours. If they buy on day 31, it isn't.

The program sets the window, and it's written in its terms. The name comes from the browser cookie that stores your affiliate ID and the time of the click. Today many programs also store the click on their own server, but the rule is the same: a clock starts at the click.

  1. The click. The reader clicks your tracking link. The program saves your ID and the time, in a cookie in their browser and often with a click ID on its server.
  2. The wait. The reader leaves, compares, comes back. The window keeps running.
  3. The purchase. If they buy before the window closes, from a browser where your cookie survived, the merchant credits the sale to you.
  4. The approval. The sale still waits in hold until the merchant confirms it wasn't returned or cancelled.

The window differs a lot between programs:

  • Amazon Associates US: 24 hours. Amazon counts a session that ends 24 hours after the click, when the customer places an order, or when they click someone else's Amazon link. Items added to the cart during the session still count if the order is completed "no later than 89 days after their initial click-through".
  • eBay Partner Network: 24 hours. The cookie "credits your link with their activity for 24 hours", and any qualified purchase counts, not only the item you linked to.
  • Awin: usually 30 days. "Industry standard is 30 days, but durations may vary by program," says Awin's help center.
  • Shopify Affiliate Program: 30 days, then up to 400. The cookie has to catch the sign-up within 30 days; a store on a free trial is then tracked for up to 400 days until it pays.

It means 3 conditions must hold, not 1:

  • The purchase happens within 30 days of the click. Not of the first visit, not of the email: of the click on your link.
  • In the same browser on the same device. A click on the phone and a purchase on the laptop leave the laptop without your cookie, unless the program tracks logged-in users.
  • Nobody else's link is clicked after yours. Most programs use last-click attribution: eBay says "the last affiliate link a user clicks before making a purchase is the one that gets the credit". A long window doesn't protect you from a later click.

CPA networks to start with

See the full ranking: 12 Best CPA Affiliate Networks in 2026: Payouts, Verticals and Terms Compared

Why the real window is often shorter

Safari cuts cookies. WebKit's tracking prevention caps cookies set by page scripts after a click from a tracking link to 24 hours, and deletes all script-set cookies and storage "after 7 days of no user interaction with the website". On iPhones, a 30-day window can become 1 day or 7.

People clear browsers and switch devices. Private mode, cleaned cookies, a different device: each resets tracking to 0.

Other links overwrite yours. Coupon sites, cashback services and browser extensions often get the last click before checkout. Writing an affiliate cookie without a real click is cookie stuffing, and most programs ban it. In a US class action, content creators allege that PayPal's Honey extension did this to "overwrite the existing Affiliate ID"; in June 2026 the court denied PayPal's motion to dismiss. These are allegations, not findings.

Server-to-server tracking helps. When the program passes a click ID to the merchant and gets it back by postback, the window no longer depends on the browser cookie surviving. It still depends on the program's rules.

For products people think over, yes. Software, courses, travel and expensive electronics are often bought days after the first click, so a 30-90 day window catches more of your sales than 24 hours.

For impulse buys, it matters less. They tend to happen in the same visit, and Amazon's 89-day cart rule covers people who add to cart and come back later.

Compare the whole offer, not the window. A 24-hour window with a high conversion rate can earn more than a 90-day window on a page nobody buys from. Look at the commission, the approval rate, the window and the payment terms together. We follow a commission through all 4 in our guide to how affiliate commissions are tracked and paid.

Sources

Articles that mention Cookie window

Show more (4)

Questions about Cookie window

What does cookie window mean?

The number of days or hours after a click on an affiliate link during which a purchase is credited to that affiliate. It's also called cookie duration or cookie life.

What does a 30-day cookie window mean?

If the visitor buys within 30 days of clicking your link, in the same browser, and doesn't click another affiliate's link before buying, you earn the commission.

What is the Amazon affiliate cookie window?

In the US, 24 hours from the click. Products added to the cart in those 24 hours still count if the order is completed within 89 days of the click.

What happens if the customer clicks another affiliate's link?

Under last-click rules, which most programs use, the later click takes the sale, even if your window is still open.

Does the cookie window matter if the program uses server-to-server tracking?

Yes. Server-to-server tracking makes the click survive cookie limits, but the program still pays only for purchases within its window.