Key takeaways
- Affiliate cookie duration is how long a program remembers your click; the length is a contract term in the program's agreement and policies—not something to assume from a blog post.
- Last-click attribution is a common reason a reader who found you first still earns you nothing, but it is not universal, so verify each program's model.
- Read the program's agreement and program policies, note the page's updated date, and save a dated copy.
- A longer window is not automatically better—compare commission rate, attribution rules and reversal terms together.
- Mark affiliate links with rel="sponsored" and tag them with UTMs so you can see which pages actually produce tracked clicks.
Affiliate cookie duration: the short answer
Affiliate cookie duration is the length of time a program remembers that a shopper clicked your link. Buy inside that window, and the sale is normally credited to you. Buy after it closes—or click another affiliate's link first—and the commission usually goes elsewhere, even if the reader started on your page.
That is the whole idea, and it is a contract term rather than a technical constant. The cookie, or an equivalent server-side record, is just the receipt: it says "this visitor arrived from this affiliate." The window is how long that receipt stays valid. Programs call it a cookie window, cookie lifespan, or attribution window; they usually mean roughly the same thing, but the exact wording in each program's agreement is what counts.
Two things follow, and they matter more than any single number:
- A live cookie only puts you in the running. The program's attribution rules, return policy, traffic rules, and payment threshold all still apply.
- Because the window is set by the merchant or network in its own agreement and policies, the only figure that counts is the one you read in those documents. Every number you see elsewhere is a snapshot, so check the date on the page you are reading.
Why the commission goes to someone else after your reader shops around
You found the reader, answered the question, and sent the click. Then they compare three alternatives, open a deal newsletter, and buy from a link in it. Before you assume anything about who gets paid, check each program's attribution wording. Some programs use last-click, some use first-click, and some share credit between touches. Because the model varies by program, do not assume last-click is the default—read the agreement. This is the situation that frustrates new affiliates most, and it is worth understanding properly rather than fearing vaguely.
What last-click attribution means
In programs that use last-click attribution, credit goes to the most recent tracked click before the purchase. The first click—yours—is remembered, but only as history. If a later affiliate link replaces it, the later affiliate is credited. Some programs run first-click attribution, shared credit between touches, or special handling for coupon and loyalty sites. Do not assume last-click is universal—read the program's attribution wording to confirm which model applies.
The four ordinary ways a click gets lost
- Time: the purchase happens after the window closes. Long consideration windows are exactly when this bites.
- A later click: another affiliate, a coupon site, a retargeting ad or a social post gets the last touch.
- A different device or browser: the click is recorded on a phone and the purchase on a laptop, and the setup cannot join the two.
- A blocked or cleared cookie: privacy settings, ad blockers, a cleared browser or a stricter browser policy means nothing was stored to match.
None of this is unusual or sinister. It is the normal friction of the open web, which is why serious programs publish their tracking rules instead of promising you every sale you influence.
The click-to-commission path, visually
``text Your click | v Cookie window opens (e.g., 30 days) | v Reader compares, clicks other links | v Purchase happens | v Which click gets credit? (last-click, first-click, or shared) | v Commission credited or lost ``
Where affiliate cookie duration really gets set
Not on a roundup post, and not in a YouTube comment. The window is a term in the program's own agreement and program policies. Amazon, for example, publishes an Associates Program Operating Agreement with a visible "Updated" date—the version on its site at the time of writing is marked Updated: October 15, 2025—and the agreement includes a section headed "Modification" [1]. The agreement also states that the separate Program Policies form part of the agreement [1]. Search both documents for the tracking terms; do not assume any number you read elsewhere is current without checking there.
So do not treat any quoted number, from us or anyone else, as permanent. Treat it as a version with a date attached.
What to search for on the official page
Open the agreement and the program policies, then use your browser's find function on these words: cookie, tracking, attribution, session, duration, link, purchase, return. Read the sentences around each hit, not just the word itself. If the page has an updated date, write it down next to your notes—that is your evidence of when you checked.
If the program is run through an affiliate network, the network's own terms may define how clicks are recorded and how long they last. Read both documents and keep a note of which one you relied on. Our walkthrough of the 12 clauses to read in an affiliate program's terms before you join follows the same order, clause by clause.
A five-minute check before you join any program
Do this before you write a single word about the product. It costs nothing, and it is a far better use of an evening than another tool comparison.
- Find the governing page. The program agreement, then the program policies, then the network terms if there is one.
- Note the updated date printed on the page, and save a PDF or screenshot of the section you relied on.
- Search for the tracking wording and write the window in your own words, in a spreadsheet row for that program.
- Identify the attribution model—last click or something else—and any exceptions for coupon, loyalty or paid-search traffic.
- Read the reversal and payment terms, because a credited sale is not money yet. Our explainer on pending, approved, reversed and paid commissions covers what happens between a click and a payment.
- Check that your planned traffic is allowed—email, social, paid ads, video and coupon content are each treated differently by different programs.
- Ask the program's support in writing if anything is unclear, and keep the reply.
Prefer to work through these questions side by side? Grab the free affiliate marketing checklist and compare your first two programs side by side before you buy hosting, a domain, or any tool: Get the free affiliate marketing checklist. For the complete library of free guides and checklists, see the main links page.
| Question to answer | Where the answer lives | Warning sign |
|---|---|---|
| How long is the tracking window? | The program agreement or program policies | Only a marketing blog states a figure; the official page is silent |
| Which click gets credit? | The same terms, in the attribution wording | Exceptions for coupon or loyalty sites you do not understand |
| When is a sale final? | Return and reversal clauses | Nothing at all about returns |
| Is my traffic type allowed? | Program policies on email, coupons, ads, social | A vague catch-all letting them reject any traffic |
| How and when do I get paid? | Payment threshold and schedule sections | A threshold above what you could realistically earn in a month |
Start here this week: compare your first two tools
Instead of reading ten more roundups, use this week to check two tools you are actually considering—say, one hosting option and one funnel builder. For each tool, run the same five-minute check on the program terms if you plan to promote them as an affiliate, and also write down the real monthly or annual cost, the cancellation and refund terms, and what you can skip until later. If you are deciding between Hostinger and Bluehost, or Systeme.io and ClickFunnels, pull up the dated pricing page and note the renewal price, not just the intro price. Write a one-line skip advice for each: what you would tell a friend not to buy yet. That helps you stay within your chosen starter budget while you compare offers.
Our due-diligence checklist for judging a product before you promote it works as a buying filter here too; and if you're choosing your first affiliate program, the 12 clauses to read in an affiliate program's terms keeps you from glossing over restrictive terms. Do not buy anything until you have compared the first two options with those questions.

Cookie window and attribution model are not the same thing
People use the phrases interchangeably, which causes most of the confusion. They are two separate settings, and both have to work in your favour.
Definitions that matter
- Cookie window (duration): how long the click record survives.
- Attribution model: which surviving click, or combination of clicks, gets credited.
- Tracking method: cookie, server-side record, sub-ID or a mix; some setups do not follow a person across devices.
- Reversal window: how long a sale can be cancelled before it is final, which is separate from the click window.
Why a longer window is not automatically better
A long window only helps if the commission rate and the rules are still worth having. A generous-looking window paired with a low rate and a strict reversal policy can pay less than a tight window with a stronger rate. Compare the whole package: rate, window, attribution model, reversal policy, payment threshold and whether your traffic is allowed. The different commission types—CPA, revenue share, recurring and tiered each interact with the window differently, and a recurring program can pay you long after the click record is gone.
Illustrative example: two programs, same traffic
Illustrative example. These are invented numbers for two invented programs, used only to show the arithmetic. They are not typical earnings and not a prediction of what you will earn.
Suppose 100 readers click your link this month and the product costs $100. Six buy on the day they click, and four more buy later in the month after comparing options. Assume no returns, for simplicity.
| Program | Commission rate | Cookie window | Credited sales | Commission per sale | Total earned |
|---|---|---|---|---|---|
| Program A | 8% | 1 day | 6 | $8 | $48 |
| Program B | 4% | 30 days | 10 | $4 | $40 |
The longer window lost. Program A credited fewer sales but paid more for each one. Move a single assumption—if one of Program A's six orders is returned, A drops to 5 × $8 = $40, a tie; if Program B's window were only 1 day, only the six same-day buyers would be credited and B would fall to 6 × $4 = $24. That is the point: the window is one variable, not the scoreboard. Notice too what the example leaves out: reversed sales, unpaid balances below a threshold, and clicks lost to a second affiliate. Any of those can swing the comparison in either direction.
What protects your commissions more than a long window
A cookie window is a safety net, not a strategy. Shortening the path from recommendation to purchase can make the buying moment easier to follow for attribution.
- Match the page to the query. Someone searching for a comparison wants a comparison, not a 2,000-word story. See how search intent should shape the page you write.
- Shorten the gap between click and purchase. Put your recommended option and a clear buying link inside the section that answers the question, not buried under three more headings.
- Write the comparison yourself. A fair table with real drawbacks keeps readers on your page instead of sending them to search for a second opinion. The comparison post template gives you a structure that does this.
- Promote what you can describe honestly. A product you can explain in your own words may be easier to describe honestly than one you are repeating from a sales page. Start with this due-diligence checklist for judging a product before you promote it.
- Do not depend on one program. Different programs have different windows, models and payout rules; spreading the risk is boring and effective.
Tag and mark your links so you can see what happened
You cannot improve attribution you cannot observe. Two small technical habits make your own data readable.
#### Mark affiliate links as sponsored
Google's documentation describes rel="sponsored" for links that are advertisements or paid placements, notes that nofollow was previously recommended and is still acceptable, and says sponsored is preferred; multiple rel values are allowed [2]. Affiliate links are a paid relationship, so marking them is the sensible default. Our guide to rel="sponsored", nofollow and link cloaking covers the exact markup and the disclosure that goes with it.
#### Add UTM parameters to the links you control
UTMs are small tags on your link that show in Google Analytics where a click came from. A blog link might look like this, with placeholders where your values go:
YOUR-AFFILIATE-URL?utm_source=blog&utm_medium=referral&utm_campaign=cookie-guide
Before adding them, check the program's terms and test one link first—a modified tracking URL may fail to record the click. The UTM tags and sub-ID workflow shows how to keep the naming consistent. If you want the technical details on how Google Analytics treats missing parameters and dimensions, see the Appendix below.
The honest limits—and how to check us
Here is the part most sites skip. This site earns commissions when readers buy through some of our links; that is how it is funded, and our FTC disclosure examples show how we word it on pages, in email and on video. What we will not do is publish a cookie figure we cannot trace to a program's current official terms, because those terms carry a date and change over time [1].
For this guide, we kept a dated capture of an official program-terms page. You can open the exact page we relied on here: Amazon Associates Program Operating Agreement (Updated: October 15, 2025) [1]. The capture shows the page's Updated date and the "Modification" heading [1]. We deliberately do not quote a duration from that page, because the number is not the permanent fact; the location and date are. Repeat the same screenshot habit for any program you consider, and store it with your dated notes.
So test us instead of trusting us. Open the program's agreement, search for the tracking wording, note the date on the page, and compare it with anything you have read here. If a program's support team cannot tell you in writing how long a click is tracked and which click is credited, that vagueness is information—treat it as a reason to look at the next program on your list.
And note what this costs: nothing. Reading terms is free, which makes it a much better first hour than buying hosting, a domain or a funnel builder you are not sure about yet. Attribution is a contract question you can settle on paper before you spend anything at all.
Related guides: Affiliate Commission Types Explained; What EPC Means in Affiliate Marketing (and Why Network EPC Misleads Beginners); Recurring Affiliate Commissions; Pending, Approved, Reversed, Paid.
Appendix: UTM parameter details for the curious
Google Analytics uses UTM parameters to identify which campaigns refer traffic, recommends always setting utm_source, utm_medium and utm_campaign together, treats values as case sensitive, and warns that missing parameters show up as "(not set)" in reporting [3]. It also notes that UTM parameters are omitted from the "Landing page + query string" and "Page path + query string" dimensions and appear in the page location dimension instead [3].
Related guides: Affiliate Commission Types Explained; What EPC Means in Affiliate Marketing (and Why Network EPC Misleads Beginners); Recurring Affiliate Commissions; Pending, Approved, Reversed, Paid.
Check the terms before you spend a dollar
Our free affiliate marketing checklist walks through the program-terms questions above in order, so you can compare programs on paper before you pay for hosting, a domain or any tool.
Frequently asked questions
What is cookie duration in affiliate marketing?
It is the period during which a program remembers that a visitor clicked your affiliate link. If the sale happens inside that window and the program's other conditions are met, the commission is normally credited to you. The length is set in the program's own agreement and policies, so it differs between merchants and networks. Always check the current terms and the date printed on the page.
How long does the Amazon affiliate cookie last?
Amazon's Associates Program Operating Agreement incorporates its separate Program Policies [1], and the agreement page at the time of writing is marked Updated: October 15, 2025. Search both documents for the tracking and attribution wording, and note the date you checked—the agreement includes a section headed "Modification" [1]. Rather than trusting a blog post's number, open that page and read the current terms.
What does a 30-day cookie duration mean in an affiliate program?
It means the program keeps the record of your click for 30 days. If the same shopper buys within that period and the program's other conditions are met, your link is usually the one credited. It does not lock in the sale: a later affiliate click, a returned order, a blocked cookie or a purchase on another device can still change the outcome.
Do I lose the commission if the reader buys from a different link later?
Often, yes—but it depends on the program. Some programs use last-click, some use first-click, and some share credit between touches. The only way to know is to read the attribution wording in that program's agreement and policies. You reduce the risk by answering the reader's question fully, placing a clear buying option next to your recommendation, and choosing programs whose terms you have actually read.
Is a 30-day cookie good?
There is no universal yes or no. A 30-day window can be useful if it comes with a fair commission rate, an attribution model you understand, and a reversal window that does not cancel late sales. A 1-day window with a much higher rate can outperform it, and a 30-day window with strict last-click attribution and aggressive coupon exclusions may not help. Compare the whole package—rate, window, attribution, reversals, payment threshold—and then test with your own traffic.
What is the 80/20 rule in affiliate marketing?
Unverified heuristic, not a documented affiliate-marketing law. The 80/20 rule is borrowed from the Pareto principle, an observation about uneven distributions that is often summarized as "80/20." We have not cited a study showing a small share of your pages, links, or programs produces most of your affiliate results, so treat it only as a prompt to check your own reports. Your own data will tell you where the concentration actually is.
Sources
- Amazon.com Associates Central - Associates Program Operating Agreement (source page, retrieved 2026-10-20)
- Qualify Outbound Links for SEO | Google Search Central | Documentation | Google for Developers (source page, retrieved 2026-10-29)
- URL builders: Collect campaign data with custom URLs - Analytics Help (source page, retrieved 2026-10-20)
This guide is general education, not legal, tax or financial advice. Rules and program terms change; check the linked official pages for the current version and ask a qualified professional about your situation. How we write: editorial policy. This page has no affiliate links.



