What Is a Lookback (Cookie) Window and How Long Should It Be?
The cookie window is how long after a click a conversion can still be credited. Learn what affects the right length for your offer.

A lookback or cookie window is the period after a click during which a conversion can still be credited to the affiliate. If the customer buys inside the window, the affiliate earns the commission. If they buy after it ends, the sale is not attributed. The right length depends on your product's buying cycle.
Key takeaways
- The window starts at the click, not at the page view.
- Longer windows favour affiliates, shorter ones favour advertisers.
- Match the window to how long customers usually take to decide.
- Always confirm the exact window and rules in writing before you promote.
How does a lookback window work?
When a user clicks an affiliate link, the tracker records the click and, in cookie-based setups, stores a cookie with an expiry date. If a conversion happens before the expiry, it is matched to that click. Click-ID based tracking works the same way logically, even without a cookie, because the click record has its own validity period. See Affiliate Tracking Explained.
Illustrative example: a 30-day window. A user clicks on day 1 and buys on day 20, so the affiliate is credited. If they buy on day 40, the sale falls outside the window.
What affects the right length?
| Factor | Shorter window fits | Longer window fits |
|---|---|---|
| Buying cycle | Impulse or low-cost items | Considered or high-value purchases |
| Product type | Simple products, offers and apps | Software, finance, travel, B2B |
| Traffic type | Coupon and deal traffic | Educational content and reviews |
| Advertiser goal | Limit crediting late touchpoints | Reward early discovery |
| Tracking method | Cookie-dependent, shorter life | Click ID with server-side storage |
Why cookie life is not always the whole story
- Browsers can limit how long some cookies last, so a stated window may not be fully honoured on the browser side. Test your setup. See Safari ITP and Ad Blockers.
- Server-side click records can hold the window more reliably than a browser cookie.
- Different offers and networks use different windows, so never assume. Read each offer's terms.
How to choose a window
- Find your typical time from first click to purchase in your own data.
- Set the window to cover most of that range.
- Consider the last-click rule and how it interacts with other partners, see Attribution Models Explained.
- Document the window in your program terms.
- Review it periodically and adjust.
Checklist
- Window length stated in program terms
- Start point defined (click, not impression)
- Tracking method supports the full window
- Publishers told about any limits
- Reviewed against real time-to-convert data
Conclusion
The cookie window quietly decides who gets paid. Base it on your real buying cycle, state it clearly and test that your tracking honours it.
Need help setting and testing your attribution window?
Join thousands of publishers monetizing their audience with NextagMedia.
Frequently Asked Questions
It is the time after a click during which a conversion can still be credited to that affiliate.
They are usually used interchangeably. Strictly, the lookback window is the attribution rule, and cookie duration is how the browser stores it.
It should match the buying cycle for your product. Quick purchases suit shorter windows, considered purchases suit longer ones.
That depends on the program rules and attribution model, so confirm it before you promote.
The sale is normally not credited to the affiliate, unless another click or rule applies.
Get Growth Insights in Your Inbox
Join thousands of marketers getting weekly affiliate & performance marketing insights.
No spam. Unsubscribe anytime.
Browse High-Converting Offers
Find your next top-performing offer from our curated marketplace.

Content & Growth Manager
Garima drives content strategy and growth initiatives for NextagMedia's affiliate and advertiser audiences, blending editorial craft with conversion-focused thinking. She has built content programs that support SEO, lead generation, and brand authority at the same time. Garima enjoys translating complex affiliate marketing concepts into practical, actionable guidance for publishers and advertisers alike.
Comments
Related Articles
Affiliate Marketing for Beginners
Everything a new affiliate needs to know to understand the model, choose a niche, and earn their first commission.
Affiliate Marketing Myths
Affiliate marketing has more misconceptions than most industries its size. Here is what is actually true.
Affiliate Marketing on a Zero Budget: A Beginner's Guide to Earning Online
Learn how to start affiliate marketing on a zero budget using free tools, organic traffic, and proven strategies. This beginner-friendly guide covers everything you need to earn your first affiliate commission without spending money.
Affiliate vs Partner Marketing vs Referral Programs
Affiliate, partner and referral programs are often confused. Compare how each works and decide which one suits your business.



