Skip to main content

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.

Written by
The Totems team
Published
Updated
Reading time
6 minutes

Short answer

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.

Who this is for. People who give out codes in videos, podcasts or partner posts and treat them as tracking.

On this page

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

A code proves

  • The buyer had the code
  • The buyer typed it at checkout
  • The discount was applied

A code doesn't prove

  • Where they got it
  • That they saw the post
  • That the post made them buy
Figure 1A code on a payment is real proof of one thing, and a guess about another.Made-up example

Set codes up so they mean something

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

ControlStripe offers it onWhy use it
One code per placePromotion codes, many to one couponCompare places without making many discounts
Maximum usesCouponsA leaked code stops after a set number
Last date to useCouponsOld codes stop working
First-time buyers onlyPromotion codesOld customers don't use it to save money
Minimum spendPromotion codesCodes can't be used on small items
One customer onlyPromotion codesPersonal 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.

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

  1. Video

    Hears PRICE20

  2. Link

    Opens on phone

    /price

  3. Leaves

    Thinks for days

  4. Laptop (breaks here)

    Types your address

    new browser

  5. Pays

    Types PRICE20

    code

Figure 2One made-up buyer. The link counted the click. The code joined the sale after they changed device.Made-up example

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.

CodeWhereUsesWith a matching link click
PRICE20Pricing video1811
ROSE20Podcast62
JANE20Partner's email98
PLAN20Planning video22
NOTE20Newsletter55

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

  1. 1
  2. 2
  3. 3Use
  4. 4
  5. 5Use
  6. 6
  7. 7
  8. 8
  9. 9Use
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14Use
  15. 15
  16. 16
  17. 17
  18. 18
  19. 19
  20. 20
  21. 21Leak
  22. 226 uses
  23. 23
  24. 24
  25. 25
  26. 26
  27. 27Use
  28. 28
  29. 29
  30. 30
  31. 31
  • Before leak0 clicks count
  • After leak0 clicks count
Figure 3PRICE20 uses by day. Six of the uses came on days 21 to 23, after the code turned up on a coupon site.Made-up example

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.

LineSales
Pricing video, before the leak$1,920
Coupon site, after the leak$960
PRICE20$2,880
Figure 4PRICE20 in money. The six uses after the leak move to their own row. The total doesn't change.Made-up example

A code tells you what they typed. A link tells you what they did.

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.

LinePer 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

SignWhat it may mean
Many uses in one day, no link clicksThe code was shared somewhere
Uses from people who never visitedSame
Uses after the post's run endedAn old code still floating around
A code for one place used in another countryShared 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

StepDone
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.

Sources

  1. Stripe: Coupons and promotion codesChecked
  2. Stripe pricing (UK page)Checked
  3. FTC: Disclosures 101 for social media influencersChecked
Read as MarkdownFound a mistake? Tell us: First version, with Stripe's page on coupons and promotion codes.
Questions

More questions.

Can't find it? Ask us.

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.

Next note

No. 41

How to track sales from a podcast with no links

Listeners can't tap a link in their ears. Use a short spoken address, a code and one question, then size the rest honestly. With a worked guest spot.

Earning and toolsNo. 36

How to price a course with your own sales data

6 minute read

Calls and DMsNo. 34

How to track sales from TikTok

6 minute read

Put one link in your next post and follow it. 7 days free.

Start free trialView demo