Skip to main content

Tracking

What is a cookie window?

Quick Definition

A cookie window (or cookie duration) is how long an affiliate network remembers that a user clicked your link. If they buy within that window, you get credit. Windows range from 24 hours up to lifetime, and are one of the most important factors when evaluating an offer.

How a cookie window works

When a user clicks your affiliate link, the network drops a tracking cookie (or stores a click ID server-side) that ties the visit to you. The cookie window is the expiration clock on that record:

  • User clicks your link → cookie set with your affiliate ID
  • User browses around, leaves, maybe comes back directly two weeks later
  • If the window is 30 days and they buy on day 14 → you get the commission
  • If the window is 24 hours and they buy on day 2 → no commission

The window is set by the advertiser or network. You can't negotiate it for most public programs, but high-value affiliates sometimes get extended windows as part of private deals.

Common cookie windows by program

ProgramWindowNotes
Amazon Associates24 hoursExtends if item added to cart
eBay Partner Network24 hours
Walmart Affiliates3 days
ShareASale (typical)30–60 daysVaries by merchant
Impact (typical)30 daysVaries by merchant
CJ (typical)30 daysVaries by merchant
Awin (typical)30 daysVaries by merchant
ClickBank60 daysInitial + order bump
Kinsta60 days + lifetime RevShare10% recurring on referrals
ConvertKit90 days + lifetime RevShare30% recurring
SEMrush / Ahrefs120+ days

Ranges vary by merchant inside the big networks (ShareASale, Impact, CJ, Awin), so always check the specific program's terms before promoting.

Why cookie window matters

  • Long-consideration products (SaaS, courses, furniture, travel) benefit massively from long windows. A 24-hour cookie on a $2,000 product is a bad deal.
  • Comparison content earns more with long windows because readers often bookmark and return days later.
  • Impulse-buy products (low-ticket Amazon, fashion) don't need long windows — people buy in the session or not at all.

Cookie stuffing and last-click attribution

Most affiliate networks use last-click attribution: whoever's cookie is most recent wins the commission. If a user clicks three affiliates' links before buying, only the last one gets paid. Some premium networks offer first-click or multi-touch models, but last-click is the default.

This creates pressure around the purchase window. Coupon sites, cashback extensions, and browser extensions exist partly to intercept traffic at checkout and overwrite the original affiliate's cookie. It's a core reason editorial affiliates lose commissions they "earned."

Cookie window vs referral period vs earning period

  • Cookie window: the click-to-purchase clock. The commission is earned here.
  • Referral period: some programs pay on every sale from a referred customer for a fixed window (e.g. 60 days from signup). Common in SaaS.
  • Earning period: how long a recurring RevShare keeps paying. Can be first month, 12 months, or lifetime.

These get conflated constantly in program pages. When you see "30-day cookie," confirm whether that's click-to-purchase only, or whether the 30 days also defines the recurring earning window.

How 2026 privacy changes affect cookies

Safari ITP caps first-party cookies at 7 days regardless of what the network says. iOS privacy restrictions further shorten effective windows on mobile. Programs running on S2S tracking sidestep most of this because the click ID lives on the advertiser's server, not in the browser cookie. The stated cookie window is increasingly a floor, not a ceiling — real attribution depends on how the program tracks.

Frequently asked questions

What happens if the cookie window expires before the sale?

No commission — full stop. The sale is credited to the merchant directly, or to whoever's cookie is still active. This is why long-consideration products need 30+ day windows; buying cycles routinely exceed a week.

What's a "lifetime cookie" in affiliate marketing?

A lifetime cookie means every purchase the referred user ever makes is credited to you. It's most common in recurring SaaS RevShare programs where you earn on every monthly payment the user makes. Rare in physical-goods affiliate marketing.

Can I reset a cookie if the user clicks my link a second time?

Yes — on most networks, a fresh click refreshes the cookie timer. This is why retargeting, email reminders, and your own content return visits matter. A second click mid-consideration can buy another full window.

Do private browsing / incognito kill cookie tracking?

Yes and no. Incognito sessions lose the cookie when the window closes. If the user converts inside that same session, you're fine. If they close the tab and come back later in a normal window, attribution is lost. S2S tracking handles this better because it uses server-side click IDs.

Related terms

Put it to work

Pick offers with fair windows and real EPC.

The Offers That Pay playbook compares cookie windows, payout models, and program quality across the networks that matter most in 2026.