How Coupon Attribution Works — and Who Actually Gets Paid
Picture a sale you earned — and didn't get paid for.
A reader finds your review of a winter jacket on Tuesday, clicks your affiliate link, and reads for ten minutes. They like the jacket. On Friday they come back, add it to the cart, and — out of habit — search for "[brand] discount code" before paying. They find a code on a coupon site, paste it in, and check out. The sale is yours by any honest reading of what happened. The commission goes to the coupon site.
This is coupon attribution, and if you publish anything with affiliate links in it, it decides a meaningful share of your income. During Black Friday week, when shoppers hunt for codes on nearly every order, it decides more than usual — and with TikTok Shop bringing coupons in-house through its new $9.99-a-month Shop Plus membership, the discount code is now a strategic asset, not an afterthought.
What coupon attribution actually is
Coupon attribution — also called voucher attribution — is the rule that credits a sale to a publisher based on the discount code the customer used, even when the customer never clicked that publisher's affiliate link.
That's the whole idea, and it's worth pausing on, because it's different from how most people imagine affiliate tracking works. The standard picture is a click: someone clicks your link, a cookie records your ID, the sale is matched to the click. A coupon code skips all of that. The code itself is the identifier. The customer carries it in their head — or in a browser extension, or on a coupon site — and types it in at checkout. The store's order system reads the code, looks up which publisher it belongs to, and credits the sale to them.
Awin, one of the largest affiliate networks, describes its Voucher Attribution feature exactly this way: when a customer enters your unique voucher code, you receive credit for the sale even if they didn't click an affiliate link or accept cookies. The network recommends it for influencers and creators on platforms where links don't work well — Instagram Stories, podcasts, YouTube videos — and for anyone whose audience hears about a product rather than clicking through to it.
That is also why coupon attribution survives the things that kill link tracking. Cookies get blocked, expire, or get overwritten — Safari caps many at seven days — but a code doesn't care. It works across devices and sessions, and in channels where a click was never possible. For those sales, the code is often the only evidence a publisher was involved at all, and it should win.
How a code travels from publisher to payout
The mechanics are straightforward once you see the chain:
1. The advertiser issues a unique code. Each publisher gets their own code — SARAH15, FITCLUB20, or whatever the brand chooses. On Awin, publishers request a Voucher Attribution code from the advertiser; not every advertiser has it enabled, so it sometimes takes an explicit ask.
2. The publisher shares it where links can't go. A podcast mention, an Instagram caption, a YouTube description, a community post, a printed flyer. The code is the promotion.
3. The customer enters it at checkout. The store's checkout captures the code used on the order. In network tracking, that code travels with the order data — Awin's server-to-server conversion API, for example, accepts a voucher field as a valid attribution method, alongside the click checksum.
4. The network matches the code to the publisher. The code is looked up, the publisher is identified, and the commission is calculated under that program's rules.
5. The commission is reported and validated. The sale shows up in the publisher's transaction report, attributed to the code, and is validated or declined under the program's terms — just like a click-tracked sale.
The collision: when a click and a code both claim the sale
The trouble starts when a sale has two parents. A customer clicks Publisher A's link on Monday, then checks out on Friday with Publisher B's code. Both did something. Only one gets paid under most programs — and the rule that picks the winner is the attribution model.
Under last-click, the code almost always wins. Last-click is the default in most programs: of all the partner touches inside the attribution window, the most recent gets 100% of the credit. A code entered at checkout is a touch that happens seconds before the order is placed — almost always the most recent one. So the code owner takes the full commission, and the publisher whose link started the journey gets nothing.
Under first-click, the link wins. First-click reverses the logic: the first touch gets everything, and the code owner earns nothing. Few programs use it as a default, because it under-rewards the partner who closed the sale.
Under a shared model, the commission is split. Some platforms split the commission between contributing partners — linear, position-based, or by assigned weights. Affilae, for instance, lets a program choose first click, last click, or a share model when a tracked click and a voucher overlap, and with no valid tracked click at all, the voucher owner receives the whole commission regardless of the model.
Some newer platforms are now letting advertisers pick a fourth option: the link wins when there is one. OpenPartner, which documented the problem in October 2026, added a per-program setting under which a partner link click inside the window beats a code, and a code credits on its own only when no link did. That covers the podcast listener and the video viewer while protecting the content publisher whose reader went code-hunting at the last minute.
Why codes leak — and what a leak costs
A discount code is a string, and a string can be republished. Issue a code to a partner and within days it can appear on aggregator sites, in browser extensions, and in community threads. At that point the code no longer identifies the partner it was issued to. It identifies whoever found it.
This is the quietest way publishers lose money in affiliate marketing, because nothing looks broken. The code still converts. The partner still gets paid — except the partner getting paid is now a coupon site that did none of the work, and the content publisher who drove the sale sees fewer conversions than they sent. One attribution platform's model of 1,000 orders that last-click assigned to a single affiliate found that 76% had an earlier touch from a channel that received no credit — and for extension-attributed orders, that figure was 89%. That's one vendor's model, not an industry statistic, but it points at the shape of the problem: most of the time, someone else did the work first.
The leak problem has a sharper edge: browser extensions that fire at the checkout discount field can insert themselves between the purchase decision and the transaction, taking the commission for a sale that was already decided. AFFNE covered the most famous version of this story, the Honey controversy, in our look at shopping-extension commission theft. Advertisers can fight back — many program terms ban voucher codes unless the brand itself provided them, with unauthorized use resulting in commission reversal — but only if someone is watching the transaction reports.
What publishers can actually do about it
You can't rewrite a program's attribution model. But you can protect your share of it.
Get your own code, and ask for voucher attribution by name. If you promote on podcasts, video, social, or in communities where links are weak, ask the advertiser for a unique voucher code under their voucher attribution setup. On Awin, that's a specific feature you request — it isn't on by default everywhere. A code of your own means your audience's checkouts credit you even when no click survives.
Keep your code exclusive — and check where it shows up. Search for your code the way a shopper would. If it appears on coupon aggregators you never gave it to, tell the advertiser. A leaked code stops being your code: it becomes a free discount the brand pays commission on for sales it would have made anyway.
Pair every code with a link. The most reliable setup is both: a tracking link for standard web traffic and a coupon code as backup for the channels where cookies fail. Tracking platforms consistently recommend this pairing, precisely because each method covers the other's blind spot.
Read your transaction reports for the pattern. Some platforms now count it for you — OpenPartner's tracking health view, for example, reports "coupon took credit from a link" as a specific number. If your program's reports don't show that, look for the symptom instead: clicks holding steady while attributed sales fall, especially around big sale events.
Ask programs how they resolve the collision before you invest. Before you build a gift guide or a review around a program, ask one question: when a customer clicks my link and checks out with someone else's code, who gets paid? Programs that answer clearly are programs you can plan around. Programs that can't answer are a risk to your revenue.
For coupon and cashback publishers, the rules cut the other way. If your whole model is codes, your obligations are stricter: only promote brand-verified codes, only use codes the advertiser actually gave you, and expect to lose commission on sales where an unauthorized code was used. The publishers who last in this niche are the ones advertisers trust with their codes.
Why this matters more in November than in March
Coupon attribution is a year-round mechanic, but its stakes peak right now. Shoppers search for discount codes on a far larger share of orders during Black Friday and Cyber Week, which means more collisions between links and codes — and more commissions quietly reassigned at the checkout box. With TikTok Shop bringing coupons in-house, the discount code is moving from the edge of affiliate marketing to the center of it.
Publishers who understand the mechanic keep more of what they earn. They ask for their own codes. They watch where those codes appear. They choose programs whose attribution rules they can live with. And when a sale they drove gets credited to someone else, they know exactly which rule did it — and who to talk to about changing it.
That's the difference between guessing at your income and managing it. In a channel where the last touch takes everything, knowing how the last touch works is the whole game.
Publishers looking for programs with clear voucher and coupon terms can explore AFFNE's marketplace.
Sources
- Awin Success Center — What is Voucher Attribution? — 23 June 2025 — https://success.awin.com/articles/en_US/Knowledge/Voucher-Attribution
- Affilae — How to create and track vouchers — https://affilae.com/en/documentations/voucher-tracking/
- OpenPartner — Coupon codes vs affiliate links: who gets the credit when a customer uses both? — 24 October 2026 — https://openpartner.dev/blog/2026-10-24-coupon-codes-vs-affiliate-links/
- UpPromote — How to Set Up Affiliate Tracking on Shopify for 2026 — https://uppromote.com/blog/how-to-set-up-affiliate-tracking-on-shopify/
- Korant — Affiliate attribution: last click is lying to you — https://blog.korant.online/affiliate-attribution-last-click-lying (modeled data from one platform, framed as such in the article)
- Awin — Coupon, Cashback and Affiliate Partner Programmes — https://www.awin.com/gb/publishers/other-partner-types