Share this article
Affiliate Marketing

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.

Garima Singh
Garima Singh
September 10, 20263 min read0 views
BeginnerUpdated December 3, 2026
Timeline showing a conversion inside and outside an affiliate lookback window

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?

FactorShorter window fitsLonger window fits
Buying cycleImpulse or low-cost itemsConsidered or high-value purchases
Product typeSimple products, offers and appsSoftware, finance, travel, B2B
Traffic typeCoupon and deal trafficEducational content and reviews
Advertiser goalLimit crediting late touchpointsReward early discovery
Tracking methodCookie-dependent, shorter lifeClick 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

  1. Find your typical time from first click to purchase in your own data.
  2. Set the window to cover most of that range.
  3. Consider the last-click rule and how it interacts with other partners, see Attribution Models Explained.
  4. Document the window in your program terms.
  5. 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.

Talk to our team

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.

Browse Offers
Garima Singh
Garima Singh

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