Affiliate tracking is the part of affiliate marketing almost nobody explains properly — and it’s the part that decides whether you actually get paid. 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 guide is the explanation I wish someone had given me on day one.
No jargon dumps and no hand-waving. By the end you’ll understand exactly what happens between a click and a commission, why two dashboards can 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? When a merchant makes a sale, the tracking system has to connect that sale back to the affiliate who referred the visitor — reliably, and often days or weeks after the original click.
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.
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.
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.
Where affiliate tracking breaks
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.