How to See How Many Times a Shopify Discount Code Was Used
Who this is for
Marketing, finance, and partnership managers measuring campaign and influencer code performance.
Shopify shows a discount's usage count directly on its entry in Discounts in Shopify Admin. For the orders behind that number, filter the Orders list by discount code. For revenue and total discount cost, use Analytics → Reports and open the sales-by-discount report, which breaks down orders, gross sales, and discount amount per code. Use the same date range everywhere — most 'the numbers don't match' disputes are date-range or time-zone mismatches.
When to use this
- You need to pay an influencer or affiliate based on code usage.
- Finance wants the real cost of a promotion.
- You suspect a code leaked and want to see the spike.
- You're comparing campaign performance across channels.
Step-by-step workflow
- 1
Check the usage count
Open Discounts. Each discount shows how many times it has been used, which is the quickest leak check.
- 2
List the orders
In Orders, filter or search by the discount code to see every order that used it. Export if you need to share it.
- 3
Get revenue and discount cost
In Analytics → Reports, open the sales-by-discount report for the campaign dates. Note gross sales, discount amount, and net sales.
- 4
Subtract refunds and returns
Partner payouts should usually be on net sales after returns. Run the report again after the return window closes.
- 5
Record the result
Log usage, net sales, discount cost, and margin impact per code so next year's plan uses real numbers.
Campaign code report
Code: [CODE] Channel/partner: [NAME] Dates: [START] – [END] (store time zone) Uses: ____ Gross sales: $____ Discount amount: $____ Returns/refunds: $____ Net sales: $____ Payout basis: [gross / net] Payout: $____
Frequently asked questions
Where can I see discount code usage in Shopify?
On the discount's entry in Discounts (usage count), in Orders filtered by the code, and in Analytics reports broken down by discount.
Why don't my discount numbers match between screens?
Usually different date ranges, time zones, or whether refunds and cancelled orders are included.
How do I track influencer sales in Shopify?
Give each influencer a unique code and report on sales by discount. Add a discount link with UTM parameters if you also want traffic attribution.
Related resources and tools
- Create a Shopify discount link that auto-applies
- Deactivate or delete a Shopify discount code
- Shopify discount mistake checklist
- How to Set Up Tiered (Volume) Discounts in Shopify
- How to Put a Product on Sale in Shopify
- Are Shopify Discount Codes Case Sensitive?
- How to Exclude Products From a Shopify Discount
- How to Show Percentage Discount Saved in Shopify
- Why Is My Shopify Discount Code Not Working?