It depends on who runs the program. Every affiliate setup puts a time limit on credit, usually called the attribution window or the cookie duration. A brand, an affiliate network or a platform sets it, never the creator. This guide covers what starts the clock, what ends it, how TikTok differs from classic cookie-based networks, and how to find the real rule for the program you use.
This is a methodology piece. It skips quoting a number that may be wrong for your program and gives you a repeatable way to find the window, test it and plan content around it.
What is cookie duration in affiliate marketing?
Cookie duration is how long a small browser record, saved when someone clicks your link, can still connect a later purchase to you. If the shopper buys while the record is valid, the checkout reads your identifier and reports the order under your name. If the record has expired, been cleared or been blocked, the order arrives with no affiliate attached.
The broader term is attribution window. It covers cookies, along with account-level records and in-app tracking that use no cookies at all. In practice creators use the two phrases interchangeably, and our explainer on the affiliate attribution window for creators treats the window as the time limit on credit, however it is stored.
What starts the clock?
Read the terms for the trigger. Most programs start the clock on a tracked click. Some also count a view, an add to cart or a product tag interaction. If only clicks count, a viewer who sees your video and later searches for the product by name has left no click to credit.
The clock normally starts at the most recent tracked interaction, which is not necessarily the first. That is why the phrase first click in a search can mislead. Under the common last-click rule, a later click from another source can restart credit in that source's favour, as the next sections show.
Why does the window length differ between programs?
Brands choose a window to match how their customers buy. A cheap impulse item is often decided within a session, so a short window feels fair to the brand. A considered purchase such as furniture, electronics or travel is researched over days, so the brand may allow longer. Networks then add their own defaults and caps on top.
Two programs with the same commission rate can therefore pay very differently for the same audience. A high rate with a window shorter than your viewers' buying cycle can earn less than a modest rate with a window that fits.
How does TikTok Shop tracking differ from cookies?
On a closed platform the sale happens inside the app. A product tag, showcase entry or video link ties the buyer to you through the logged-in account, so the system does not depend on a browser cookie surviving. That tends to hold up better than links pasted into other sites, where cookies can be blocked, cleared or lost when someone moves from phone to laptop.
Our guide to how the TikTok Shop affiliate program works notes that if a shopper views your video, leaves and buys later, credit usually depends on the platform's tracking window, so the program terms matter. TikTok Shop and each brand set their own rules, and those rules can change, so treat any window you read in a forum as a rough hint. Check your own creator dashboard and the current terms.
❗ IMPORTANT
Do not copy a window from one network and assume it applies on TikTok, Amazon or a booking program. Each one publishes its own rule, and the rule can change.
Does the first click or the last click win?
Most affiliate programs use last-click attribution. The final tracked interaction before checkout gets the commission, because that rule is simple to audit. First-click models reward discovery, but they are rare in creator programs. Multi-touch models split credit, which is fairer on paper but harder to build.
In practice, this can hurt. If a viewer discovers a product in your video and later clicks another creator's link inside the window, that creator is paid. Your work created the interest and you earn nothing. Make your link the easiest one to use at the moment of purchase: pin the product, repeat the call to action and give people a reason to buy now.
How do you find the window for your program?
Locate the stated rule
Open the program terms or creator dashboard help pages and search for attribution window, cookie duration, tracking period or commission eligibility.
Note what starts the clock
Write down whether a click, a view, an add to cart or a product tag interaction opens the window.
Identify the model
Confirm whether last click applies and whether coupon sites, ads or other creators can override you.
Ask in writing if unclear
Email the program manager or support with the exact question, and keep the reply with your records.
Test with your own links
Click a link, complete a small test where the terms allow it, and see whether the order appears with your identifier.
A program that cannot tell you its window or trace a click has told you something about itself. Reliable reporting is part of what you are paid for.
Is a longer window always better?
A longer window helps with high-consideration products, where a short one punishes you for promoting them. It is not automatically better, though. A longer window leaves more room for competing affiliates, paid advertising and brand emails to claim the last click. Brands sometimes shorten windows for impulse items because the buying decision is fast.
Judge the window against how fast your category buys, whatever the biggest number on offer. If your audience decides in one sitting, a generous window adds little. If your audience compares, asks friends and returns days later, a short window drops your best buyers from the report.
How should you match content to the window?
- Short window: strong hook, visible price, one direct call to action and a pinned product, so the purchase happens fast.
- Generous window: honest reviews, comparisons and follow-up videos that remind viewers of the product across several viewings.
- Either way: answer comment questions quickly, since a purchase often follows an answered doubt.
The same logic applies to local offers. A viewer might watch a food video on Monday, discuss it with friends and book later in the week. Our walkthrough of how creator affiliate links get tracked back to a restaurant shows how a click opens the clock and a completed booking inside it is credited, and why mentioning a specific dish or time slot nudges viewers to act inside the window.
Why was a click not credited?
An expired window is only one possible cause. Before you blame the program, rule out the others. Our troubleshooting guide on an affiliate link not tracking bookings correctly lists the usual breaks.
Keep an independent record of your clicks and publish dates. When you escalate, send the exact link, the time of a test click and the order details. Specific evidence gets a faster answer than a general complaint.
Does credit mean you are paid?
No. Attribution decides whether a sale is yours. Payment is a separate chain: the order must be delivered, the return period must pass, the commission must be approved, and you must request a withdrawal. A credited order that is later refunded can have its commission reversed.
Once you request money, payout speed can be measured. In our tracked withdrawals, the median request clears in 2.0 days and the slowest tenth take 7.6 days, as laid out in the TikTok Shop affiliate payment schedule. Budget on the slower figure.
⚠️ WARNING
Pending earnings are provisional. Do not spend commission that is still inside the return period, even if the sale sits inside your attribution window.
How do you judge whether the window is hurting you?
Watch the gap between clicks and credited orders alongside engagement. A big gap with healthy engagement can mean your buyers are slow and landing outside the window, or that another source is winning the last click. Track clicks, conversion rate, average order value, returns and the time between click and purchase.
Keep expectations realistic too. On our TikTok GO data, only 1.3% of posts produced a sale, so most content earns nothing whatever the window. A single quiet post says little. Compare many posts over several weeks before changing your strategy.
How many followers do you need before you can affiliate on TikTok?
Eligibility depends on your country and changes over time, so confirm the current requirement inside the app. Some regions use a follower threshold and others do not, and there are routes for smaller accounts. Follower count and attribution are separate questions: once you are approved, the window rules apply to your links the same way regardless of audience size.
What should you do next?
Open the terms of the program you use most and write down three things: what starts the clock, how long it lasts and which model decides the winner. Then compare that with how quickly your own audience buys. If they do not match, change the content style first and the program second.
See which posts turn into credited sales
Connect your TikTok Shop to track commissions, settlement status and where credit leaks.
Get started free →FAQ
What is cookie duration in affiliate marketing?+
Cookie duration is how long a browser cookie stored after your link click can still tie a purchase to you. If the buyer orders while the cookie is valid, you are credited. After it expires, or if the cookie is cleared or blocked, the sale is not attributed to you.
How long does a TikTok Shop affiliate link stay credited after a click?+
It depends on the program and product, and the rules can change. TikTok Shop tracks sales inside the app rather than through browser cookies, so the exact window should be read in your creator dashboard and the current terms. Do not assume a window from another network applies.
How many followers before you can affiliate on TikTok?+
Eligibility depends on your country and changes over time. Some regions require a follower threshold, while others do not, and there are routes for smaller accounts. Check the current requirements inside the app, because an old number you read elsewhere may no longer apply to your region.
Does a longer attribution window always earn more?+
Not always. A longer window gives slower buyers time to convert, which helps with considered purchases. It also gives other creators, coupon sites and ads more chances to take the last click. Your content type and how quickly your audience decides matter more than the length alone.
What happens to my commission if the buyer returns the order?+
Commission on returned or cancelled orders is usually reversed, even when the sale was credited inside the window. Treat pending earnings as provisional until the return period has passed and the program has released the money to your available balance.
Track your TikTok commissions free
Connect your TikTok Shop in 60 seconds.
Get Started Free →No credit card required




