Blog
/
Revenue
December 3, 2026
8 min read

How did my discount code perform? A promo code scorecard

For an illustrative 20% off code on a $90 order at 65% gross margin, 46% of the code's orders must be new for it to break even. At 30% new, the code lost about $6,300 while showing $72,000 in sales.
On this page

A discount code performed well only if the margin from the orders it created beat the discount you handed to people who would have bought anyway. Revenue on the code tells you neither. Score every code on incremental orders, who used it, margin after returns and where it leaked beyond its audience, then keep, change or kill it.

The one number to carry into the meeting:

Breakeven incrementality = discount per order / (discount per order + return-adjusted margin per discounted order). If a smaller share of the code's orders than that were genuinely new, the code lost money.

What should a promo code scorecard show?

Ten numbers per code, and only two of them come straight out of Shopify. Shopify's Sales by discount codes report gives you orders, discount amount and total sales grouped by discount name. It has no returns or net sales column, and when discounts combine, the same order appears once for each discount applied. The report is your first two rows. You build the rest.

#MetricFormulaWhere it livesWhat good looks like
1Orders on codeCount of orders with the codeShopify discount reportContext only
2Discount costSum of discount amountShopify discount reportContext only
3Baseline ordersHoldout order rate x audience, or a comparable prior windowShopify orders + Klaviyo segmentFrom a holdout where you can get one
4Incremental ordersOrders on code minus baseline ordersCalculatedShare above breakeven incrementality
5New customer shareFirst-time buyers / orders on codeShopify customersHigher than your sitewide rate that week
6Margin per discounted orderAOV - discount per order - COGS - shipping - feesShopify + finance COGSPositive
7Return-adjusted margin(1 - return rate) x margin per discounted order - return rate x (outbound shipping and fees + return shipping)Returns app + ShopifyPositive; code return rate within 5 points of full price
8Leak rateUses by people outside the intended audience / orders on codeKlaviyo recipients vs Shopify customersUnder 10% for a targeted code
9Net contribution(Incremental orders x return-adjusted margin) - (baseline orders x discount per order)CalculatedPositive
1060-day repeat rateCode buyers who bought again at full priceShopify customersAt or above a matched non-code cohort

Net contribution (row 9) is what the code added to profit after paying for the discount on orders you would have had anyway. The thresholds in the last column are my working rules. Change them to fit your margins.

Two timing notes. The 60-day repeat rate cannot be read in early December, so ship the BFCM promo readout without it and fill that row in February. And if you also sell on Amazon or through wholesale, pull those channels' sales for the code window: a deep DTC code can pull orders off your Amazon listing or start price-match complaints from retail partners, and neither shows up in Shopify.

How many orders would have happened anyway?

For a code sent to your existing list, often most of them. You will not know how many without a holdout: keep about 10% of the email or SMS audience off the send and compare their order rate with the group that got the code.

Size the holdout before you trust it. Say a brand has a 50,000-person list and a 2% order rate in the window (illustrative). A 5,000-person holdout produces about 100 orders, give or take 10, which is too noisy to read a few points of lift. Aim for a holdout that produces at least a few hundred orders, or pool holdouts across several sends.

With no holdout, use the same audience's order rate over the prior four non-promo weeks. That works badly for BFCM, when baseline intent spikes; there, use the same week last year scaled by list growth and say in the readout that it is an estimate.

Now the breakeven. Say a brand runs 20% off on a $90 average order with a 65% gross margin (illustrative numbers, carried through the rest of this post):

  • Discount per order: $18
  • Return-adjusted margin per discounted order: $21.05 (worked out in the margin section below)
  • Breakeven incrementality: 18 / (18 + 21.05) = 46%

The quick version people reach for, discount over full-price gross margin (18 / 58.50), says 31%. That is a floor. It ignores that each incremental order was itself sold at a discount, then paid shipping and took returns. At 31% incremental this code loses money. Deeper codes raise the bar fast: at 30% off the same brand needs about 66% of orders to be incremental.

Did the code bring new customers or discount existing ones?

Check new customer share against your sitewide rate for the same period, using one definition of new vs returning customers for both. Say 25% of all orders that week came from first-time buyers and 22% of code orders did (illustrative): the code mostly discounted people you already had.

Then split the existing customers by how recently they last bought. The cutoffs below suit a brand whose median time between orders is around 90 days; scale them to your own purchase cycle, so a consumables brand uses shorter windows than an apparel brand.

Code userWhat it tells youTypical action
First-time buyerAcquisition, if the 60-day repeat rate holds upKeep, cap depth
Lapsed (no order in 180+ days)Win-back workedMove into a win-back flow
Active (ordered in last 90 days)Pulled forward a purchase you were getting anywayExclude from the next send
SubscriberDiscount on an add-on or a new subscriptionCheck stacking settings

Shopify discount codes usually do not touch Recharge or Skio renewal orders. The subscriber risk is a code used on a one-off add-on order, or on the first order of a new subscription that already carries a subscribe-and-save discount. Check the code's combination settings in Shopify so it cannot stack with the subscription discount.

The active-buyer row is where most of the margin goes. Excluding active buyers lowers the code's headline revenue, which can look bad in a channel report even while it raises contribution. Say so in the meeting before someone else reads the channel report.

What did the code cost in margin, after returns?

A returned order does not just lose its margin. You refund the discounted revenue, you paid outbound shipping and fees, and you pay return shipping; you get COGS back only if the item can be resold. Use the return rate on code orders specifically, since discounted orders often come back at a different rate than full-price ones, especially when a code pushed shoppers over a threshold with an extra item.

Continuing the illustrative 20% off example, assuming returned items are resold:

  • Discounted revenue per order: $72
  • COGS $31.50, outbound shipping and fees $10: margin per order $30.50
  • A returned order earns nothing and costs the $10 outbound plus $12 return shipping: minus $22
  • Return rate on code orders 18% (vs 12% at full price): 0.82 x $30.50 - 0.18 x $22 = $21.05 return-adjusted margin

Say the code drove 1,000 orders and the holdout says 700 would have come anyway. Net contribution is 300 x $21.05 minus 700 x $18, which is $6,315 minus $12,600. The code lost about $6,300 while showing $72,000 in sales. If items come back unsellable, subtract COGS on returns too and the loss grows. If your returns run high to begin with, don't trust a return-blind number.

Which codes leaked beyond their audience?

A code leaked when the people redeeming it are not the people you sent it to. Compare Shopify customers who used the code with the Klaviyo or SMS recipient list; anyone outside it found the code somewhere else, usually a coupon site or browser extension.

Treat that match as an upper bound on leakage. People check out with a different email than the one you sent to, through Shop Pay, or behind Apple's Hide My Email. Match on email or phone to tighten it.

The leak thresholds work in two tiers: above 10% from non-recipients flags a leak worth fixing on the next send, and above 25% means retire the code string now. A second flag is timing: uses still climbing on day nine of a three-day offer.

The fix is unique, single-use codes. Klaviyo can generate unique Shopify coupon codes per recipient, though large batches take hours to generate, so build them before you schedule the send. The same page notes these coupons do not apply to subscription orders from apps like Recharge. Influencer and affiliate codes leak the most because they are public by design; score them in their own row.

How do you compare a code with a sitewide sale?

Compare total net contribution over the same window. Per-person rates mislead here because the denominators differ: a list code is measured against recipients, a sitewide sale against sessions. A code to your list reaches people with high baseline intent. A sitewide sale also discounts every full-price shopper who happened to show up.

Targeted codeSitewide sale
Who gets the discountRecipients, plus leaksEveryone who buys
Baseline orders subsidisedYour list's normal ordersAll normal traffic
Easiest to hold outYes, split the sendHard; needs a geo or time comparison
Main riskLeakage, pulling forward active buyersTraining shoppers to wait

Depth moves the result more than format does. Intelligems found that across 3,000+ Shopify brands over Labor Day 2026, revenue lift for discounting brands fell to 22% from 31% the year before, and brands giving back less than 2.5% saw revenue drop 2%. Shopper surveys point the same way: in Attentive's June 2026 survey of 600 US BFCM shoppers, 45% said a 20 to 40% discount would move them and 10% would buy with no discount at all.

What should you keep, change or kill next time?

Use net contribution and incrementality together, with breakeven defined as above:

Net contributionIncremental share vs breakevenDecision
PositiveAboveKeep. Test 5 points shallower next time.
PositiveBelow, but 60-day repeat rate beats a matched non-code cohortKeep for acquisition only; restrict to first-time buyers
NegativeAboveChange: margin problem. Cut depth, add a threshold, or drop low-margin SKUs
NegativeBelowKill, or rebuild as a unique-code send with active buyers excluded
AnyLeak rate above 25%Retire the code string today, whatever else it shows

A code that loses money but clears aged inventory may still be right, and the table will not catch that. If clearance is the goal, score it against the markdown you would otherwise take, and check markdown timing and depth first. For BFCM, run this scorecard on every code as part of the BFCM post-mortem.

Where does Hazel fit?

The slow part of this scorecard is the joining: Shopify orders, Klaviyo recipients, return records and COGS rarely sit in one place, and the holdout math gets redone by hand every time. Hazel, the AI coworker for brands and retailers, connects Shopify, Klaviyo and your returns app, and takes COGS from your finance system or an uploaded cost sheet. A question like "how did the BFCM codes do?" comes back as this table, with the leaks and pulled-forward buyers already flagged. The pricing and discount analysis recipe shows the questions to start with.

From there it can prepare the change, say a unique-code segment for the next send with active buyers excluded, and make it once someone on the team approves. Hazel can also run the scorecard as a weekly workflow and bring the readout to the Monday meeting.

Written by
Clint Dunn
CEO, Hazel
Updated
December 3, 2026
Topic
Revenue
Book a call

Frequently Asked Questions

How do I check discount code performance in Shopify?

Open Analytics, then Reports, and run the Sales by discount codes report. It groups orders, discount amount and total sales by discount name. It has no returns or net sales column, and combined discounts list the same order more than once, so it is a starting point. It will not give you profit.

What is a good redemption rate for a promo code?

Redemption rate alone does not tell you whether a code worked, because a high rate from active customers can mean you discounted orders you would have got at full price. Judge the code on incremental share against breakeven: discount per order divided by discount plus return-adjusted margin per discounted order. For 20% off a $90 order at 65% gross margin, with shipping and returns counted, that is about 46%.

How do you measure the incrementality of a discount code?

Hold out about 10% of the audience from the send, sized so the holdout produces at least a few hundred orders, and compare their order rate with the group that got the code. The difference is your incremental orders. The code pays only if the incremental share of orders exceeds discount per order divided by (discount per order plus return-adjusted margin per discounted order).

How do I track coupon code leakage to coupon sites?

Compare the customers who redeemed the code with the list you sent it to; treat the result as an upper bound, since some buyers check out with a different email. Above 10% from non-recipients is a leak to fix; above 25%, retire the code string. Use unique, single-use codes generated per recipient, which Klaviyo can create for Shopify, and score influencer and affiliate codes separately.

Is a discount code better than a sitewide sale?

A targeted code is usually cheaper because it discounts fewer baseline orders and is easy to measure with a holdout. A sitewide sale reaches more new shoppers but subsidises every full-price buyer who visits that week. Compare both on total net contribution over the same window.

How do you measure promotion effectiveness?

Compare the promotion with what would have sold without it. Hold out part of the audience or compare with the same window last year, then score the promotion on incremental orders, the share that went to new customers, margin after returns and leakage beyond the intended audience. If the incremental margin does not cover the discount given to people who would have bought anyway, it did not pay.