Cookie Window Settings

Default cookie duration, changing cookie days, and how cookies interact with checkout.

The cookie window defines how long after a referral click a purchase can still credit the affiliate.

Default duration

Configure cookie days in Portal settings. The default is generous, often 365 days, but you can shorten it to match your program policy.

Affiliates see the value in the portal FAQ via the {{cookie_days}} placeholder.

When you reduce the cookie window:

  • New visits use the shorter window immediately
  • Existing cookies keep their original expiry from click time

When you increase it, newly set cookies get the longer duration.

What happens when a customer clears cookies

If a customer clears cookies before buying, their referral cookie is gone. The sale will be unattributed unless:

  • They use an affiliate promo code at checkout (Growth+)
  • Sign-in tracking is active and they've previously logged into your app after clicking a referral link

This is why promo codes are a valuable backup. See Affiliate promo codes.

Updated