How Long Do Referral Cookies Last? Cookie Windows Explained

You share a referral link, a friend clicks it, and then… nothing happens for two weeks. Do you still get credit when they finally sign up? The answer depends on your program’s cookie window — the amount of time a referral link’s tracking stays valid after someone clicks it.

This guide breaks down what a referral cookie window actually is, how long they typically last, why your real-world results can be shorter than the number printed on the program page, and what to check before you assume a referral “didn’t count.”

Quick Answer

Most referral and affiliate programs set cookie windows somewhere between 7 and 90 days, with 30 days being the most common default. But the printed window is only part of the story — browser privacy rules (especially in Safari and Firefox) can quietly shorten how long tracking actually persists, sometimes to as little as 24 hours to 7 days, regardless of what the program promises.

What a Referral Cookie Actually Does

When someone clicks your referral link, the destination site drops a small tracking file (a cookie, or increasingly a similar identifier stored in the browser) on that visitor’s device. It typically stores your referral or affiliate ID and a timestamp. If that visitor later completes the target action — signing up, subscribing, or making a purchase — the site checks for that cookie and attributes the conversion back to you.

The ‘window’ is simply how long that cookie is allowed to live before it expires. Click a link on day 1, and a 30-day cookie window means you’re still credited if they convert any time through day 30. Convert on day 31, and by default you get nothing — unless the program uses a different attribution rule (more on that below).

Typical Cookie Window Lengths by Program Type

There’s no single industry standard, but patterns show up by product type. Cheap, low-consideration purchases (impulse buys under roughly $50) often use short windows of 7 to 14 days, since people typically decide fast or not at all. Mid-range purchases (roughly $50–$200) commonly use 30 days — the most common default across referral and affiliate platforms. High-ticket or complex purchases, like software, courses, or consulting, tend to use longer windows of 60 to 90 days because buyers take more time to research and compare.

Subscription businesses often go further, using 90-day windows or even lifetime/persistent attribution, since a single referred customer can be worth recurring revenue for years. On the strict end, Amazon Associates uses just a 24-hour cookie window for new clicks — though if the visitor adds something to their cart in that first 24 hours, Amazon extends credit for that item for up to 90 days even if they don’t buy immediately.

First-Click vs. Last-Click Attribution (Why the Window Isn’t the Whole Story)

Cookie duration is only half of how credit gets assigned. The other half is the attribution model: which click gets credit when a visitor clicks multiple referral or affiliate links before converting. Last-click attribution — the most common model — gives 100% of the credit to whichever referral link was clicked most recently before conversion, even if an earlier click from a different referrer started the journey. First-click attribution instead rewards whoever got the visitor there first, which some programs use to reward top-of-funnel content or early advocates.

This matters practically: if you referred someone and they later click a different referral or coupon-site link before buying, a last-click program can reassign the credit away from you, even though your cookie technically hadn’t expired yet.

Why the Real-World Window Is Often Shorter Than Advertised

Modern browsers actively limit how long tracking cookies can survive, independent of what a program’s terms say. Safari’s Intelligent Tracking Prevention (ITP) caps first-party cookies set via JavaScript at 7 days, and cuts click-through tracking parameters (like those appended to a referral URL) down to as little as 24 hours in some cases. Firefox applies similar third-party cookie blocking by default. Chrome, as of 2026, still allows third-party cookies for most users after Google reversed its earlier plan to phase them out — but that could change, and privacy-focused browser extensions and ad blockers strip many tracking cookies regardless of browser defaults.

In practice, this means a program advertising a ’90-day cookie’ may only reliably track a fraction of that window for privacy-conscious visitors, especially Safari and Firefox users. Well-built referral programs mitigate this by using server-side tracking or first-party domains rather than relying purely on client-side JavaScript cookies, which survive browser restrictions far better.

Tips / Common Mistakes

Don’t assume a missed referral means the cookie expired — check whether the visitor cleared cookies, switched devices, used a private/incognito window, or clicked a competing link before converting, since any of those can break the chain even inside the stated window.

If you’re choosing a window for your own referral program, match it to your buying cycle: shorter windows for impulse purchases, longer ones for considered or recurring purchases. A window that’s too short loses credit for legitimate referrals with normal decision delays; one that’s too long can dilute attribution and inflate payouts for unrelated late conversions.

If accurate tracking matters to your business, don’t rely on cookies alone. Combine cookie-based tracking with account-level attribution (e.g., asking new users how they heard about you, or requiring the referred person to click a unique signup link) so you’re not fully dependent on a browser not deleting a file.

Explore more: More referral program basics.

Referral cookie windows FAQs

What happens if the cookie expires before someone buys?

By default, you lose credit for that referral unless the program has a fallback, like a cart-based extension (as Amazon does) or account-level tracking that isn’t tied purely to the cookie.

Do referral cookies work across devices?

Generally no. A cookie set on a phone’s browser won’t be visible if the person later switches to a laptop, since cookies are stored per-browser and per-device, not per-person.

Does clearing cookies or using incognito mode break referral tracking?

Yes. Clearing cookies removes the tracking file entirely, and private/incognito browsing either blocks cookies from persisting or deletes them when the session closes, so any later conversion won’t be attributed.

Is a longer cookie window always better for a referral program?

Not necessarily. Longer windows can capture more legitimate delayed conversions, but they can also attribute sales to referrers who had little real influence on a purchase that happened weeks or months later, especially under last-click attribution.

Turn Customers Into Your Growth Engine

Launch a referral program that turns happy customers into your best growth channel — with ReferralEarl. Try ReferralEarl.

Photo by Growtika on Unsplash.