# Discount codes as tracking: where they work and fail

A code proves a buyer heard of it, not where. How to use codes with links, set limits in Stripe, and spot a leaked code. With a worked month and real sums.

By the Totems team. Published 2026-12-04. Updated 2026-12-04. https://usetotems.com/blog/discount-codes-tracking

**Do discount codes track sales?** Partly. A code on a payment proves the buyer got that code somewhere. It doesn't prove where, because codes get shared. Use one code per place, limit how often it can be used, and pair it with a link. When a code suddenly jumps, check whether it leaked before you credit the post.

Codes feel like perfect tracking. Someone types PRICE20, and you know they came from the pricing video. Except you don't. You know they got the code. They may have got it from a friend, a forum or a coupon site.

Codes are useful. They just prove less than people think.

## What a code proves, and what it doesn't





## Set codes up so they mean something

Stripe's page on coupons and promotion codes lists the controls. Use them.

| Control | Stripe offers it on | Why use it |
|---|---|---|
| One code per place | Promotion codes, many to one coupon | Compare places without making many discounts |
| Maximum uses | Coupons | A leaked code stops after a set number |
| Last date to use | Coupons | Old codes stop working |
| First-time buyers only | Promotion codes | Old customers don't use it to save money |
| Minimum spend | Promotion codes | Codes can't be used on small items |
| One customer only | Promotion codes | Personal codes for one person |

Make one coupon, such as "20% off the course". Then make a promotion code for each place: PRICE20 for the pricing video, ROSE20 for a podcast, JANE20 for a partner. All point at the same coupon.

## Pair every code with a link

A code alone tells you the place, but not the path. A link alone loses people who switch devices. Use both.



When both agree, you're sure. When only the code is there, it's probably right, unless the code leaked.

## A worked month, with a leak

A made-up course seller gives five codes in March. The course is £200, and the coupon gives 20% off, so buyers pay £160.

| Code | Where | Uses | With a matching link click |
|---|---|---|---|
| PRICE20 | Pricing video | 18 | 11 |
| ROSE20 | Podcast | 6 | 2 |
| JANE20 | Partner's email | 9 | 8 |
| PLAN20 | Planning video | 2 | 2 |
| NOTE20 | Newsletter | 5 | 5 |

PRICE20 looks like the winner. But 7 of its 18 uses had no link click. Look at the days.



The code was posted on a coupon site on day 21. Six uses came in the next three days, all with no link click, all from new buyers who'd never visited before. Those sales are real, but the video didn't make them. The coupon site did.

So the honest count for the pricing video is 12, not 18. In money: 12 × £160 = £1,920, not £2,880.





Note: 18 uses, 12 + 6. The rows add back to the total. We moved money, not created it.

## What the discount costs

A discount is a price cut. Count it as one.

| Line | Per sale |
|---|---|
| Full price | £200.00 |
| 20% off | −£40.00 |
| Paid | £160.00 |
| UK card fee, 1.5% + 20p | −£2.60 |
| Kept | £157.40 |



The six leaked sales kept £157.40 each, so £944.40. Was that good? If those buyers would have paid full price anyway, you gave away £240. If they would never have bought, you gained £944.40. You can't know which. That's why caps and last dates matter.

## Spot a leak early

| Sign | What it may mean |
|---|---|
| Many uses in one day, no link clicks | The code was shared somewhere |
| Uses from people who never visited | Same |
| Uses after the post's run ended | An old code still floating around |
| A code for one place used in another country | Shared outside your audience |

When you see a leak, end that code and make a new one for the same place. Stripe says you can archive a promotion code instead of deleting it.

## Codes for partners

If a partner shares a code, their code shows the sales their audience brought. Pay them on code use plus link clicks, and agree what happens if the code leaks. If they're paid, both of you should say so clearly. The FTC's guide asks for plain words such as "ad" next to the message.

## A checklist

| Step | Done |
|---|---|
| One coupon, many promotion codes | |
| One code per place | |
| Maximum uses and last date set | |
| First-time buyers only, if that's the goal | |
| A link next to every code | |
| Check daily uses for a jump | |
| Leaked codes ended and replaced | |
| Discount counted in net sales | |

## What can go wrong

- **One code for everything.** You can't tell places apart.
- **No cap.** A leak can run for months.
- **Crediting every use to the post.** Check for leaks first.
- **Forgetting the discount.** Gross sales look better than what you keep.
- **Codes that old customers use.** Use first-time only if the code is for new people.
- **Code without a link.** You lose the path.



## When not to use Totems

If you only give out one or two codes, your payment tool may already show how often each was used. Check its reports first.

Totems shows codes you note next to link clicks and payments, so a code with no click stands out. It doesn't create codes. Our Stripe connection is built and not yet tested with a live account.

## Questions

### What is the difference between a coupon and a promotion code in Stripe?

Stripe says a coupon holds the discount rule, and a promotion code is the word a customer types, which points to a coupon. Many codes can point to one coupon.

### Can I stop a code being used by everyone?

Stripe says a promotion code can be limited to one customer, to first-time buyers, or to a minimum spend. A coupon can have a maximum number of uses and a last date.

### Should every partner get their own code?

Yes. One code per place, so you can compare them. Point all of them at the same coupon if the discount is the same.

### Does a code without a discount work?

Some tools allow a code that gives nothing off. People are less likely to type it. A link is better for tracking when there is no discount.

## Sources

- [Stripe: Coupons and promotion codes](https://docs.stripe.com/billing/subscriptions/coupons), checked 2026-12-04
- [Stripe pricing (UK page)](https://stripe.com/gb/pricing), checked 2026-12-04
- [FTC: Disclosures 101 for social media influencers](https://www.ftc.gov/business-guidance/resources/disclosures-101-social-media-influencers), checked 2026-12-03
