← Blog
brandsattributioncommissions

Coupon codes vs affiliate links: who gets the credit when a customer uses both?

A customer finds you through one partner's review, then checks out with another partner's coupon code. Under last click, the code wins, and if your codes leak to coupon sites that can quietly move sales away from the partners who did the work. How to tell whether it's happening, the options for who gets credit, and OpenPartner's new per-program setting.

Here’s a sale plenty of affiliate programs see. A customer reads Ava’s review of your product and clicks her link. They don’t buy that day. Five days later they come back, reach checkout, and search for a discount before paying. They find NORTHWIND20 on a coupon site, apply it, and pay.

Two partners touched that sale. Ava’s link brought the customer. Northwind’s code was the last thing they used. Who should earn the commission?

Under last click, a common default and OpenPartner’s, the code wins. If your codes stay with the partners you gave them to, that’s often fine. If they leak to coupon and voucher sites, it means a share of the sales your content partners drive is quietly credited to whoever’s code got posted, and the content partners see fewer sales than they sent.

Why the code wins by default

Many programs, OpenPartner’s by default, credit the last click: of the partner touches inside the attribution window, the most recent wins. A coupon code entered at checkout is a touch, and it happens at the moment of payment, so it’s almost always the most recent.

That’s a reasonable default. Codes credit customers who never clicked a partner link: a podcast listener who types ADA20 at checkout, a customer who heard about you in a video. For those sales, the code is often the only evidence of the partner, and it should win.

The problem is the other kind of code use: a customer who already came through a partner’s link, then went looking for a discount and found someone else’s code.

How to tell whether it’s happening

You need two things: the link click and the code on the same customer, and a record of who was credited.

In OpenPartner, Admin → Tracking health counts it for you under Credit decisions: Coupon took credit from a link is the number of conversions credited to a coupon’s partner while another partner, whose link click was inside the window and who could have earned it, got nothing.

The Credit decisions section of Tracking health: Coupon took credit from a link, 2 conversions in the last 30 days, with a note that under last click the code used at checkout wins and that the Partner links beat coupon codes setting lets the link win
Demo data. The count covers the window and program you pick.

Some overlap is normal: customers share codes, and partners’ audiences overlap. A number that’s a real share of your coupon sales, or that keeps landing on the same one or two codes, is worth a look. Search for your brand name plus “coupon” and see whose codes come up.

A leaked code doesn’t always take a sale from a link. Often nobody clicked anything: the customer found the code on a coupon site and typed it in. Partner codes on the same page catches that. For the partners credited through a code, it shows how many of their customers came through the code without having clicked the partner’s own link first, and highlights a partner when that’s nearly all of their customers.

The Partner codes table: Kai Morgan, 10 customers credited, 9 through the code with no click of theirs, 90% highlighted; Northwind Media, 18 customers credited, 2 with no click of theirs, 11%
Demo data. Nine of Kai Morgan's ten customers came through the code without clicking Kai's link first.

Read it with the partner in mind. For a podcaster or a YouTuber who reads the code aloud, a high share is exactly what you’d expect. For a blogger whose readers should be clicking through, it suggests the code has travelled.

The options

There’s no single right answer, but there are four common ones:

  1. The code wins (last click). Rewards whoever closed the sale. Simple, and right for programs built around codes: podcasts, video sponsorships, creators who share a code rather than a link. The risk is coupon sites taking credit from content partners.
  2. The link wins when there is one. A partner link click inside the window beats a code; a code credits on its own only when no link did. Protects the partners who introduced the customer. The risk runs the other way: a partner whose code was the real reason for the purchase loses it to a link clicked days earlier.
  3. Split the credit. A multi-touch model (linear, or position-based) shares the commission between the link and the code. Fair on paper, but each partner earns a fraction, which partners find harder to understand and predict.
  4. Fix it with policy. Give each partner their own code, so a leaked code is traceable to one partner, forbid posting codes on coupon sites in your program terms, and deactivate codes that leak. This works alongside any of the above.

OpenPartner supports all four. The attribution model (last click, first click, linear or position-based) is set per program, and each partner gets their own codes.

The new setting covers option 2 without changing anything else about how a program credits sales. In Programs → Edit, tick Partner links beat coupon codes.

The program editor's Partner links beat coupon codes checkbox, ticked, with the note: when a customer clicked a partner's link inside the window, that click is credited even if they check out with another partner's code; a code credits on its own only when no link did; renewals stay with whoever won the customer's first payment, so existing customers don't move
The setting is per program, and off by default.

With it on:

  • A link click inside the window beats a code. The code’s redemption still happens, so the customer keeps their discount, but it doesn’t take the credit.
  • A code still credits on its own when no partner link was clicked inside the window: the podcast listener, the customer who typed the code they heard.
  • Existing customers don’t move. With renewals staying with the partner who won the customer (the default), a renewal keeps the credit of that customer’s first payment, so the setting changes who wins new customers, not who keeps existing ones. Nothing already credited is recalculated.
  • Each code follows its own program’s setting. You can turn it on for a content program and leave it off for a podcast program whose partners live on codes.

It’s off by default, so nothing changes until you turn it on. On the API, it’s couponsYieldToLinks on the program.

Which to choose

A rough guide:

  • Mostly content partners (reviews, comparisons, newsletters with links) and codes you hand out widely: turn it on. The partners who introduce customers are the ones you want to keep.
  • Mostly code partners (podcasts, YouTube sponsorships, creators who say a code out loud): leave it off. Their code is the tracking.
  • A mix: split them into two programs, or leave it off and handle leaked codes by policy.

Whatever you pick, watch the Coupon took credit from a link number for a month. Once the setting is on for a program, that program’s codes stop winning new customers from links, so the number should fall as new customers come in. Renewals from customers a code had already won keep their credit and can still show up in it. If it doesn’t fall, look at which program the codes belong to: each code follows its own program’s setting.

Tell your partners

Whichever way you go, say it in your program terms. Partners who know a code beats a link, or the reverse, can decide how to promote you. And a partner who sees a sale go to someone else’s code will ask about it. It’s better if the answer is already written down.

For how codes fit with the rest of tracking (links, signups, server-to-server conversions), see Affiliate tracking software. For the other places partner sales go missing, see the tracking audit guide.