Now with MCP · your agent can query commission, affiliates, and payouts. Read-only. Connect a client
← Blog

Cookie Windows & Attribution Models Explained (2026)

The four knobs that decide who gets paid: cookie window, attribution model, commission cap, self-referral rules, with recommendations for indie SaaS.

SSled10 min read
·Share on X

Most affiliate-program articles tell you to "set your commission rate at 30%" and call it a day. But commission rate is one of four knobs that determine who actually gets paid in your program, and the other three matter more than founders realize until an affiliate emails them asking why they didn't get credit for a sale they "clearly" drove.

This post is the missing manual: what each knob does, the tradeoffs at each setting, and the configuration that's right for a typical indie SaaS in 2026.

The four knobs:

  1. Cookie window, how long after the click do we still attribute a conversion?
  2. Attribution model, when multiple affiliates touched the same lead, who wins?
  3. Lifetime cap, for recurring commissions, do we ever stop paying the original affiliate?
  4. Self-referral rule, can an affiliate use their own link to buy?

Get these right and your program runs itself. Get them wrong and you'll spend hours every month on disputes.

Two affiliates arguing in your inbox about who deserves credit for the same $29 sale

When a visitor clicks an affiliate link, your tracking script writes a cookie storing the referral code. The cookie window is how long that cookie lives before expiring. If the visitor checks out within the window, the affiliate gets credit. After the window, the visitor is treated as organic.

The tradeoffs

  • Too short (1–7 days): Affiliates complain, legitimately. B2B buying cycles routinely take 30–60 days from first touch to "purchase order signed." If a creator writes a blog post that converts a CTO who reads it on a Sunday and pitches it to her team three weeks later, a 7-day cookie window means the affiliate gets nothing. Word spreads fast in creator communities; short cookie windows kill affiliate enthusiasm.
  • Too long (180+ days): Attribution becomes meaningless. You start crediting affiliates for clicks the visitor barely remembers. A creator who tweeted your link 5 months ago gets credit for a sale driven by yesterday's email campaign. You also create awkward situations when two affiliates touch the same lead in different months, see "attribution model" below.
  • The dead zone (30 days): Common default that's actually too short for SaaS. 30 days was the legacy ecommerce standard from the Amazon affiliate era when impulse-buys dominated. SaaS deliberation is longer.

90 days. This is the modern consensus and what every major creator program defaults to. It's long enough to span a typical B2B sales cycle and short enough to keep attribution meaningful. Rewardful defaults to 60 days, Sled defaults to 90, Tolt is configurable, set yours to 90 unless you have a specific reason to deviate.

Exceptions:

  • High-velocity prosumer SaaS (Notion-like products with same-day signup): 30 days is fine.
  • Enterprise SaaS with multi-quarter sales cycles: 180 days is defensible but creates the attribution-mess problem below. Better to use a longer window combined with first-touch attribution (next section).

Knob 2: Attribution model

When two or more affiliates touch the same lead before they convert, who gets paid?

There are three main models:

Last-touch

The most recent affiliate cookie wins. If the visitor clicked Alex's link on day 1 and Sarah's link on day 30, then converted on day 35, Sarah gets the commission.

This is the default in 95% of affiliate tools because it's the easiest to explain and the easiest to implement (the cookie just overwrites).

Pros: Simple. Matches how humans intuit attribution ("the link they clicked right before buying"). Doesn't punish affiliates who hit the lead near decision time.

Cons: Slightly under-rewards top-of-funnel content. Sarah may have just retweeted a link that was already in the buyer's mind from Alex's deep tutorial.

First-touch

The earliest affiliate cookie wins. Once Alex's cookie is set, no subsequent affiliate can overwrite it for the duration of the cookie window.

Pros: Rewards the affiliate who introduced the brand to the buyer. Conceptually fairer for B2B where the first introduction is often the highest-effort piece of content.

Cons: Harder to explain to affiliates ("wait, I retweeted the link and drove the click but I get nothing?"). Creates incentive for shady actors to spray links to inflate first-touch claims.

Split (multi-touch)

Both affiliates get partial credit. E.g. 50/50 if two affiliates touched, or 30/40/30 for three. Real-world: barely any affiliate tools implement this because the attribution math gets gnarly fast and reconciling disputes is a nightmare.

Pros: Theoretically fair.

Cons: Nobody actually wants it once they think it through. Lowers per-affiliate payout, which lowers affiliate motivation. Most successful SaaS programs avoid split attribution.

Last-touch for almost every indie SaaS. It's the default for a reason, simple, intuitive, ships fast. If you're running a B2B program with long cycles where top-of-funnel content is genuinely doing the persuading, consider first-touch instead. Don't use split attribution unless you have a specific data-science reason and the operational maturity to defend the math when affiliates dispute payouts.

Knob 3: Lifetime cap on recurring commission

For subscription products, recurring commission means the affiliate gets paid every month the referred customer pays you. This is the modern standard for SaaS (one-time commission badly under-incentivizes evergreen content like YouTube videos and blog posts that drive signups for years).

But "recurring forever" is one option. Capped recurring is another.

The options

  • Recurring forever (lifetime): Affiliate gets paid every month the customer is subscribed, with no end date. If the customer subscribes for 5 years, the affiliate gets paid for 5 years.
  • Capped recurring (12 months): Affiliate gets paid for the first 12 monthly cycles, then commission stops even if the customer keeps paying.
  • Capped recurring (24 months): Same but 24 months.
  • One-time only: Affiliate gets the first month's commission, then nothing. Common for digital downloads, courses, lifetime-license products. Not recommended for subscriptions.

The tradeoffs

Lifetime recurring is the most generous and the most motivating, especially for high-LTV products. A creator promoting a $50/mo product knows that one solid referral could be worth $180+ over years.

Capped recurring (12mo) is a reasonable middle ground. Caps your obligation per referral while still motivating evergreen content. Math: at 30% commission on a $30/mo product with 12mo cap, you pay $108 max per referral. If your LTV is $360+, you're net positive. If your churn is high and LTV is $150, you might be net negative on enterprise-scale referrals.

One-time is appealing for cash flow but a terrible recruitment pitch. "I'll write a YouTube video and earn $30 once, ever, for any signup that comes from it" is a hard sell vs. recurring competitors.

Lifetime recurring if your gross margin is healthy (50%+) and your LTV is well above the lifetime commission you'd pay. Most SaaS qualifies.

Capped at 12 months if you have thin margins or extreme uncertainty about LTV, especially early-stage. You can always lift the cap later as your data matures.

One-time for one-time-purchase products only (courses, books, lifetime licenses). Never for subscriptions.

Knob 4: Self-referral rules

Can an affiliate use their own referral link to buy your product?

This sounds like a silly question until you've watched it happen. A common low-effort fraud vector: someone signs up as an affiliate, then immediately buys with their own referral code to get the commission as a backdoor discount. If you're paying 30% commission and your product is $100, the affiliate effectively buys for $70, and you've gained no actual marketing reach.

The options

  • Block self-referral by default. Detect when the customer email matches an affiliate email; reject the conversion.
  • Allow self-referral. Some merchants intentionally allow it as an alternative discount program.

The tradeoff

Block is the safer default. It eliminates a fraud vector for free and the false positives are minimal (real customers don't typically have the same email as an affiliate by accident).

Allow is fine if you're deliberately running a "refer yourself for a discount" promotion, but you should rename the program and limit it to one purchase per email. Don't accidentally enable affiliate self-discounts by leaving this knob unset.

Block self-referral. Sled has this enabled by default at the tenant level (blockSelfReferral: true). It's the right default for 95% of programs.

How these knobs interact: the four common scenarios

The four knobs aren't independent, combinations matter. Here are the typical configurations:

"Standard indie SaaS" (the default to start with)

  • Cookie window: 90 days
  • Attribution: last-touch
  • Lifetime cap: recurring forever
  • Self-referral: blocked

Use this unless you have a specific reason to deviate. It's what most successful indie SaaS programs run.

"Conservative early-stage"

  • Cookie window: 60 days
  • Attribution: last-touch
  • Lifetime cap: capped at 12 months
  • Self-referral: blocked

Slightly tighter. Use when you're not confident about your LTV yet and want to limit downside per referral.

"B2B with long cycles"

  • Cookie window: 180 days
  • Attribution: first-touch
  • Lifetime cap: recurring forever
  • Self-referral: blocked

The combination of long cookie + first-touch rewards the affiliate who introduced your product to a buyer who took 4 months to evaluate. Recurring forever matches the high LTV typical in B2B.

"Product-led prosumer"

  • Cookie window: 30 days
  • Attribution: last-touch
  • Lifetime cap: capped at 12 months
  • Self-referral: blocked

Fast-decision products (Linear/Notion/Superhuman type). Most signups happen within a week of click; long cookies just create attribution noise.

Disputes: what to do when an affiliate complains

Even with perfectly tuned knobs, you'll get the occasional dispute. Three common ones:

"I drove this sale but didn't get credit"

The affiliate sees a customer they "know" came from their tweet, but the dashboard shows the conversion as organic (or credited to a different affiliate).

Investigate: Check the conversion's customer email against any affiliate-claimed leads. Pull the click log for that affiliate around the relevant timeframe. Sometimes the customer used a different browser, cleared cookies, or completed checkout on mobile after clicking on desktop, all of which legitimately drop the cookie.

Resolve: If you can verify it's a genuine dropped attribution (the customer confirms they found you via the affiliate), give the credit manually. Don't make a habit of overriding the system, affiliates will start claiming every conversion.

"I should be on a higher commission tier"

Common when an affiliate's volume grew but their rate didn't. Use per-affiliate commission overrides (Sled's commissionPercent field per affiliate) to bump VIP creators to 35–40% without changing the default for everyone else.

"Recurring commission stopped after month 1"

This is always a technical bug, not a policy dispute. Your webhook handling is dropping renewal attribution. See the Polar guide or the Stripe guide, both cover the subscription-ID inheritance fix.

Setting these in Sled

In the Sled dashboard, all four knobs live in Settings → Affiliate Program:

  • cookieDays, defaults to 90
  • attributionModel, lastTouch (only model currently supported)
  • commissionCap, number of months, or null for lifetime
  • blockSelfReferral, boolean, defaults to true

Per-affiliate overrides for commission rate and cap are available on individual affiliate profiles. The default applies to everyone else.

Frequently asked questions

90 days for most indie SaaS. 30 days is too short for B2B buying cycles, 180+ days creates attribution noise. 60 days is defensible. Use 30 days only for fast-decision prosumer products.

Should I use last-touch or first-touch attribution?

Last-touch for almost every indie SaaS. It's simpler, more intuitive, and what 95% of affiliate tools default to. Use first-touch only if you're running a B2B program where top-of-funnel introductions matter more than late-cycle conversion.

Is lifetime recurring commission really sustainable?

Yes, if your LTV is meaningfully higher than the lifetime commission per referral. Math example: 30% commission on $30/mo with average customer LTV of $720 = $216 paid to affiliate over LTV, $504 net to you. Lifetime recurring is sustainable for almost all SaaS with healthy retention.

What if my product has very high churn?

Use capped recurring (12 months) instead. Limits your obligation per referral when LTV is uncertain. You can lift the cap once your retention data matures and you know the math works.

You can change it for future clicks (new cookies will use the new window). You can't extend old cookies that already expired, they're gone from the visitor's browser. Plan changes carefully: shortening a cookie window from 90 to 30 will cause existing in-flight referrals to drop out if they haven't converted yet.

Should I let affiliates use their own referral codes for purchases?

No, block self-referral by default. It's a low-effort fraud vector and the false-positive rate (real customers happening to share an email with an affiliate) is essentially zero.

Do I need to disclose these rules to my affiliates?

Yes. Put cookie window, attribution model, lifetime cap, and self-referral rules in your affiliate program's signup page or terms. Transparency prevents 90% of future disputes. Affiliates who know the rules upfront don't argue them later.

Cookie window = how long after the click a conversion is attributed (e.g. 90 days). Once the visitor converts, the cookie has done its job.

Lifetime cap = for recurring commissions only, how long after the conversion the affiliate keeps earning (e.g. 12 months, or forever). The cap is about ongoing payments, not attribution.


Setting up your affiliate program? Sled ships with the recommended defaults (90-day cookie, last-touch, recurring forever, self-referral blocked) so you don't have to think about it. All four knobs are configurable per-tenant. Get started free →

Try Sled

Recurring commission on every renewal.

Polar-native affiliate tracking, with Stripe and Paddle handled the same way. 10-day trial, no card required, cancel anytime. Then $19/mo or $99/yr.

Keep reading

All posts →