Affiliate tracking is the system that connects a sale back to the affiliate who sent the buyer, often days or weeks after the click. It decides whether you get paid, and it’s the part of affiliate marketing almost nobody explains properly. I’ve seen it from every angle: as an affiliate wondering why a sale never showed up, as an affiliate manager approving (and rejecting) conversions, and as a developer who has built the tracking software that sits in the middle. This is the explanation I wish someone had given me on day one: what happens between a click and a commission, why two dashboards report different numbers, and how to check whether a program is tracking you fairly.
What affiliate tracking actually does
At its core, affiliate tracking answers one question: who sent this customer? Get it right and everyone trusts the numbers: the affiliate earns, the merchant pays for genuine results, and the relationship works. Get it wrong and you get the two most common complaints in the industry — “I drove that sale and wasn’t credited” from affiliates, and “we’re paying for sales we’d have made anyway” from merchants. Both usually trace back to how tracking and attribution are set up.
From click to commission: the journey step by step
Every affiliate sale follows the same path. Understanding each step is what lets you diagnose problems later.
- The click. Your affiliate link carries a unique identifier — something like
?aff=1234. That ID is what ties any resulting sale back to you. - The tag. The moment someone clicks, the platform records the referral: traditionally by dropping a cookie in the visitor’s browser, increasingly by storing a click ID server-side.
- The sale. The visitor buys — maybe immediately, maybe after thinking it over for a week.
- The report. At checkout, the merchant’s site fires the conversion back to the tracking platform, passing along your ID and the order value.
- Approval. The merchant reviews conversions and approves the genuine ones (filtering returns, cancellations and fraud).
- Payout. Approved commissions are paid out on the program’s schedule — often net-30 or net-60.
Cookies and cookie windows, explained
A tracking cookie is a small piece of data stored in the visitor’s browser that says “this person was referred by affiliate 1234.” The cookie window (or cookie duration) is how long that credit lasts. A 30-day window means you’re credited if the visitor buys within 30 days of clicking your link; a 24-hour window means you need the sale to happen fast.
Cookie windows matter more than most affiliates realise. Promoting a $2,000 product with a 24-hour window is a very different proposition from a 90-day one, because expensive purchases involve more deliberation. Browsers have also made third-party cookies far less reliable, which is exactly why the industry has shifted toward server-side tracking. If you want the deeper mechanics of how browsers handle cookies, Mozilla’s MDN documentation on HTTP cookies is the clearest reference there is.
Amazon is the common lesson here. Its window is 24 hours from the click to the item going in the basket, which is fine for impulse buys and useless for anything people think about for a week. A reader who clicks, goes away, and comes back three days later through a search earns you nothing. The same content pointing at a merchant with a 30 or 60 day window makes money on the same traffic. Kit’s program at 50% for the first year, or Semrush on a 120-day window, are the kind of terms that make a slow-deciding audience worth having. Read the cookie window before the commission rate.
Affiliate tip: Before you promote anything, check the cookie window in the program terms. A generous window on a considered purchase is often worth more than a slightly higher commission rate on a short one.
Postbacks vs pixels: how the sale gets reported
When a sale happens, the merchant has to tell the tracking platform. There are two ways to do it, and the difference is the single biggest factor in tracking accuracy today.
A conversion pixel runs in the visitor’s browser — a small script on the “thank you” page that fires when the order completes. It’s easy to install, but it depends on the browser cooperating: ad blockers, privacy settings and cleared cookies can all stop it firing.
A postback (also called server-to-server, or S2S) skips the browser entirely. The merchant’s server sends the conversion directly to the tracking platform using the click ID captured earlier. Because it never touches the browser, it’s far more resistant to the things that break pixels. When I was building tracking systems, moving programs from pixels to postbacks was the fastest way to recover “lost” sales that were happening but never being recorded.
How much comes back depends on how much the browser was eating in the first place. Awin’s own numbers are the best public benchmark I know. When they pushed advertisers onto server-to-server tracking they found 12.6% of regular sales had been going untracked, and app-directed sales were missing about a fifth. Their top twenty programs saw conversion rates lift 14.4% within thirty days of switching. Expect more on mobile-heavy traffic, and expect the affiliates who were being under-credited to notice before the finance team does.
Why two dashboards disagree: attribution
Here’s the scenario that causes the most arguments. An affiliate’s dashboard shows 100 sales; the merchant’s shows 92. Nobody is lying — they’re usually measuring slightly different things.
Attribution is the set of rules that decides which touchpoint gets credit. Most affiliate programs use last-click: the final affiliate link before purchase wins. But if a customer clicked two affiliates, or clicked an affiliate link and later came through a paid ad, the rules determine who’s credited — and different systems apply them at slightly different moments. Add returns, cancelled orders and fraud checks that remove conversions after the fact, and an 8% gap between two honest dashboards is completely normal.
Pull one of those gaps apart and it is usually three things stacked. Time zones: the network cuts its day at midnight UTC, the shop at midnight local, so late-evening orders land in different days and the month-end totals never line up. Channel rules: the analytics tool credits some orders to email or paid search because the customer came back through those, while the network credits the affiliate’s click inside its window. And refunds: the shop has already netted off returns the network will not reverse for another thirty days. Nobody is wrong. They are measuring different things with different clocks. Partnerize and Webgains both publish help pages on exactly this because it comes up with every new advertiser.
Where affiliate tracking breaks
Ask anyone who has run a tracking platform’s support queue and one failure comes up more than every other put together: the click ID never made it to the conversion. The affiliate’s link had it, the landing page had it, and somewhere between there and the thank-you page it was gone. A redirect that dropped the query string, a form that posted to a different domain, a checkout on a subdomain that could not see the cookie. The postback then fires with an empty transaction ID, or worse, the literal text of the macro, {clickid}, because nobody told the platform to replace it. CAKE and Everflow both have whole troubleshooting pages on this one error. The fix is boring: before anything goes live, click your own link in a private window, buy something, and read the raw postback log. If the ID is not in that log, nothing else you do matters.
After years of debugging this for real programs, the failures are remarkably repetitive. These are the ones worth knowing:
- The pixel never fires. An ad blocker or a checkout redirect stops the browser pixel, so a real sale is simply never recorded.
- The click ID gets lost. A redirect or a stripped URL parameter breaks the chain between click and sale, and the conversion lands with no affiliate attached.
- Cross-device drop-off. Someone clicks on their phone and buys on their laptop; browser-only tracking can’t connect the two.
- Over-aggressive dedup. Fraud filters that are too strict quietly reject genuine conversions along with the bad ones.
The reassuring part: almost every one of these is fixable, and most are solved by moving to server-side tracking with proper click IDs.
How to check a program tracks you fairly
Whether you’re an affiliate deciding where to invest your effort or a merchant choosing a platform, run through this before you commit:
- Read the cookie window and attribution model in the program terms — not the marketing page.
- Do a test purchase. Click your own link, buy, and confirm the sale appears in your reporting with the right value.
- Ask whether tracking is server-side. Postback/S2S support is a strong signal the program takes accuracy seriously.
- Check the approval and payout terms so you know when a pending sale becomes real money.
If you’re choosing a platform to run a program on, the same questions drive our hands-on reviews of affiliate tracking software — every review is judged on exactly these mechanics.
Both sides, one truth: good tracking isn’t about squeezing the other party — it’s about both sides trusting the same numbers. That’s the whole reason this site covers the affiliate side and the merchant side together.
Frequently asked questions
What is affiliate tracking in simple terms?
Affiliate tracking is the system that records who referred a customer and connects any resulting sale back to that affiliate, so commissions are paid to the right person. It uses a unique link identifier plus cookies or server-side records to tie a click to a later purchase.
How long does an affiliate cookie last?
It depends entirely on the program’s cookie window. Common durations range from 24 hours to 90 days; some programs offer longer. The window is set by the merchant and listed in the program terms, so always check it before promoting.
Why do the affiliate and merchant dashboards show different numbers?
Usually because of attribution rules, timing, and post-sale adjustments like returns, cancellations and fraud checks. A small gap between two honest dashboards is normal; a large, persistent gap is worth investigating.
Is server-side tracking better than a pixel?
For accuracy, yes. Server-to-server postbacks don’t rely on the browser, so they’re far more resistant to ad blockers, privacy settings and cleared cookies that can stop a pixel from firing.
Some links on ClickProfits are affiliate links — see our affiliate disclosure. For how the U.S. rules on disclosure work, the FTC’s endorsement guides are the authoritative source.
