Key takeaways
- A cookie window is how long after a click an affiliate still gets credit for the sale that follows.
- Longer windows reward affiliates for slow-deciding buyers; shorter windows favour fresh, direct intent.
- Match the window to your sales cycle — impulse buys need days, considered B2B deals need weeks.
- Last-click attribution is the standard, but it's not the only option.
- Cookies keep getting less reliable; server-side and first-party tracking are where attribution is headed.
The cookie window is one of the most consequential — and least understood — settings in an affiliate program. It quietly decides who gets paid for a sale. Set it wrong and you either underpay your partners or overpay for sales they didn't really cause. Here's how it works, and how to choose yours.
What is an affiliate cookie window?
A cookie window (or attribution window) is the stretch of time after someone clicks an affiliate's link during which a resulting purchase still credits that affiliate. Set a 30-day window, a buyer clicks today and buys three weeks later, and the affiliate earns the commission. Once the window expires, the click no longer counts.
How does the cookie window affect attribution?
Window length changes who earns credit and how much you pay. A longer window credits affiliates for buyers who take time to decide — partners love that — but it can also pay for sales other channels really closed. A shorter window ties credit tightly to fresh intent, but may under-reward affiliates who genuinely planted the seed.
- Longer window (60–90 days): generous to affiliates, good for considered purchases, but risks over-attribution.
- Shorter window (1–7 days): conservative, best for impulse buys, but risks under-rewarding real influence.
- Medium window (30 days): the common default, balancing both for most businesses.
The window is also a recruiting signal
Experienced affiliates check your cookie window before they join — a stingy window signals a program that under-credits partners. A reasonable window (30 days is a safe default for many businesses) tells serious affiliates you'll pay fairly for the demand they create.