Back to Blogs
Shopify
Nov 4, 2026
By The Shoptimity Team
1 min read

Shopify Sales by Discount Code: Avoid Double-Counting Combined Offers

Shopify Sales by Discount Code: Avoid Double-Counting Combined Offers cover art

A discount report can help identify which codes appear on sales, but a row is not necessarily a unique set of orders. When discounts are combined, the same order can appear under more than one code. Define the metric before adding rows or using a discount report to judge a campaign's incremental impact.

Read the report's unit of analysis

Shopify's sales reports guide explains that Sales by discount codes includes sales associated with line-item, order and shipping discounts using codes. The report shows sales affected by each code, not simply the monetary amount of the discount. Shopify warns that an order using multiple codes appears in each corresponding row, so adding sales by code can overstate sales.

Report questionImportant distinction
Sales associated with a codeSales in orders where the code applied
Discount amountReduction attributed to the discount
Unique ordersDeduplicated orders, not the sum of code rows
Incremental salesRequires a separate comparison or experiment
Shipping discountCheck whether the chosen report includes it
Sales associated with a code
Important distinctionSales in orders where the code applied
Discount amount
Important distinctionReduction attributed to the discount
Unique orders
Important distinctionDeduplicated orders, not the sum of code rows
Incremental sales
Important distinctionRequires a separate comparison or experiment
Shipping discount
Important distinctionCheck whether the chosen report includes it

For example, if one $100 order uses codes A and B and each code row includes that order, adding the two row totals can give $200 of associated sales even though there was only one $100 order. The example illustrates overlap, not a universal allocation formula.

Define the reporting question

Choose a date range, market, currency and treatment of returns before exporting. If the question is “how often was code A used?”, use the code-specific measure and verify its definition. If the question is “how many unique orders used at least one code?”, use an order-level dataset or supported report that allows deduplication by order. Document any exclusions and the report's timing.

Shopify notes that Sales by discount title focuses on product and order discounts, while Sales by discount codes can also cover shipping discounts. The two reports are not interchangeable. Review the report definitions and filters in the current admin before comparing totals.

Reconcile a small sample

Select an approved set of orders: one with a single code, one with combined codes, one without a code and one returned or partially refunded. Compare the order details with the report rows. Record the order identifiers internally and avoid copying customer information into a public report.

SampleCheck
One codeCode and affected sales appear as expected
Two codesSame order may appear in both code rows
No codeInclusion matches the report's definition
Shipping discountThe selected report covers the intended discount
Return or refundThe chosen date and net-sales definition are clear
One code
CheckCode and affected sales appear as expected
Two codes
CheckSame order may appear in both code rows
No code
CheckInclusion matches the report's definition
Shipping discount
CheckThe selected report covers the intended discount
Return or refund
CheckThe chosen date and net-sales definition are clear

If a report sums code rows, label it as code-associated activity rather than unique total revenue. If the analysis allocates one order among codes, disclose the allocation method; Shopify's row display alone does not establish which code caused the sale.

Build a repeatable handoff

Keep the report URL or name, filters, export date, definitions and reviewer with each monthly report. Marketing and finance should agree on what they want to compare. A code can be used by customers who would have purchased anyway, so associated sales are not proof of lift or profitability. A controlled experiment or carefully designed comparison is needed to estimate incremental impact.

Review discount combinations and net sales reporting alongside the Shopify report documentation. Recheck available report features and access for the store's current plan.

Can one order appear under two discount codes?
Yes. Shopify says an order with combined codes can appear in each corresponding row.
Does adding code-row sales always give unique total sales?
No. Overlapping orders can make the summed rows larger than the unique sales total.
Does revenue associated with a code prove the code caused the sale?
No. Attribution and incremental impact require a separate analysis.

Ready to build a faster, higher-converting store?

Every Shoptimity theme ships with conversion widgets built in — so you get speed and features without stacking apps.

7-day free trial · all themes included · cancel anytime