Discount Code Analytics

Are your discounts profitable?

See per-code revenue, profit, AOV, and effective discount rate. Compare discounted orders against your baseline to know if each code is helping or hurting.

All Plans Only on NetNet

Why discount tracking matters

Discounts are a silent profit killer. You know how much you gave away in total, but not whether each code actually drove customers worth having. A $15 discount on a $30 order might net you a $2 profit after shipping and fees — while that same customer would have paid full price in your email list. NetNet breaks down every code's true impact: revenue, profit, average order value, and how they compare to customers who bought at full price.

Without this visibility, you're flying blind. You might retire your best code because it looks expensive on the surface, while your worst code quietly eats margin. Or you keep stacking discounts during peak season, unaware that your best customers aren't coming back. Discount analytics show which codes are acquisition engines and which are margin erosion.

Total Discounts Given
$4,280
8.9% of revenue
Orders with Discounts
142
36.5% of all orders
Avg Discount / Order
$30.14
per discounted order
Baseline Profit / Order
$38.20
orders without discount
Per-Code Breakdown

Every code, measured

Each row in this table tells the full story of a discount code. The Used column shows how many customers grabbed it. Revenue and Profit show what you made after costs. AOV (average order value) reveals whether the code attracted bargain hunters or full-price buyers. Profit/Order compares directly to the baseline — if it's lower, the code is eroding your margins. The Effective % shows how much you gave away relative to full price, making it easy to spot codes that are too generous.

CodeUsedDiscountRevenueProfitAOVProfit/OrderEff. %
WELCOME10 68 $1,820 $11,900 $2,380 $175 $35.00 15.3%
PREPAID 45 $1,350 $9,450 $2,520 $210 $56.00 14.3%
FLASH25 29 $1,110 $4,440 $445 $153 $15.34 25.0%
No discount(baseline) 247 $22,450 $9,435 $91 $38.20
Discount Impact
Profit per order vs baseline
With discount
Baseline

FLASH25 drops profit per order to $15.34 — well below the $38.20 baseline. PREPAID actually increases it.

Baseline comparison

The gray line represents customers who bought without any discount. This is your true baseline profit per order. Every discount code's profit bar is compared against this. If a code's bar is shorter than the baseline, you're losing margin. If it's taller, you're converting higher-AOV customers.

Look for patterns: codes that drive volume at baseline profit are winners. Codes that cost margin to acquire cheap customers are opportunities to redesign — higher minimum order values, smaller discount percentages, or retire them entirely in favor of organic channels.

How discount tracking works

All 6 Shopify discount types

Code-based, automatic, script/function, free shipping, partial shipping, and manual/draft order discounts — all handled.

Per-line-item allocation

Discount allocations are extracted from each line item and subtracted from line item revenue. Product-level profitability stays accurate even on discounted orders.

Discount codes stored per order

Discount codes are stored as a text array on each order for per-code aggregation. The Discounts page groups by code to show usage, revenue, profit, and more.

Baseline comparison

The 'No discount' row shows the same metrics for orders without any code — so you can directly compare whether each code is adding value or just eroding margin.

What to do with this data

Once you see which codes are profit-positive and which are just acquisition experiments that don't stick, you can make data-driven decisions. The most common scenario: you have one or two codes that drive volume but cost margin per order. These need constraints — higher minimum order values, time limits, or category restrictions. The codes that drive high-AOV customers at baseline profit deserve to be expanded and advertised more.

Profit/Order below baseline? The code is eroding margin. Raise the minimum spend threshold or retire the code.
High usage but low AOV? Customers are gaming the discount on cheap orders. Add a minimum order value requirement.
Effective % above 20%? You're giving away too much. Test a smaller discount — 10% vs 15% — and compare conversion rates.
One code dominates usage? You may be over-reliant on discounts for acquisition. Test removing it for a week and measure organic conversion.

Stop guessing.
Start knowing.

Free plan. No credit card. Install in 60 seconds.

Install Free on Shopify