Coupon

How to track coupon code usage across WooCommerce orders

Flag orders where a coupon or discount code was used

Automatically badges orders that have a coupon or discount code applied, so your team can track promotional uptake and verify that coupons are being used as intended.

Review info
The problem

Coupons are a key marketing tool but can also be a source of revenue loss if misused, shared publicly, or stacked with other discounts. Without a visual flag, it is difficult to monitor coupon usage across the order queue.

The solution

OrderBadger can automatically flag any order where a coupon or discount code was applied.

Who this is for

Stores that issue coupon codes for marketing campaigns, influencer partnerships, or loyalty programmes and want to keep an eye on redemption patterns.

At a glance
Detects any coupon or discount code Fires on single or stacked coupons Passive badge, no inbox routing Badge: Coupon (yellow) Category: order review
People also search for
badge orders where discount code was used WooCommerce monitor promo code redemption on orders WooCommerce flag coupon applied to order track promotional code usage in order list identify orders using voucher or discount codes

How it works

Checks whether the order has one or more coupons applied and adds a badge if so. This gives you at-a-glance visibility into which orders used promotional codes.

Review coupon usage patterns periodically. If you see unexpected spikes, check whether a private code has been shared publicly. For influencer codes, use this badge to track campaign performance.

Rule template

Plain English rule A coupon or discount code was applied to the order

Write this (or something similar) in the OrderBadger rule builder. The AI compiler turns it into executable logic automatically.

Make it yours

Add or remove conditions
  • Add 'and the customer received a discount of more than 20 percent on this order' to only flag coupon orders with unusually steep discounts. A coupon or discount code was applied to the order and the customer received a discount of more than 20 percent on this order
  • Add 'and customer has 0 previous paid orders' to spotlight first-time buyers using a coupon, which helps measure acquisition campaign effectiveness. A coupon or discount code was applied to the order and customer has 0 previous paid orders

Badge preview

Default: Coupon

When this rule matches

One Coupon Applied
Order has 1 coupon applied, so the rule matches.
Two Coupons Applied
Order has 2 coupons applied, which also satisfies the rule.

When this rule does not match

No Coupons
No coupons were applied to the order.

Good to know

  • This detects any coupon, regardless of value or type. It does not distinguish between percentage, fixed-amount, or free-shipping coupons.
  • Automatic discounts applied by WooCommerce pricing rules (without a coupon code) will not trigger this badge.

Frequently asked questions

  • Does this badge show which coupon code was used?
    No. The badge indicates that at least one coupon was applied but does not display the code itself. Check the order details in WooCommerce to see the specific coupon.
  • Will it fire if the customer stacked multiple coupons?
    Yes. The rule triggers when the coupon count is 1 or more, so it fires for single coupons and stacked coupons alike.
  • What about automatic discounts from plugins like WooCommerce Dynamic Pricing?
    No. This rule only detects traditional WooCommerce coupon codes. Automatic pricing rules that apply discounts without a coupon code will not trigger this badge.
  • Can I create a rule that only flags a specific coupon code?
    Not with this rule. This flags any coupon. For specific coupon tracking, you would need a custom rule that checks the coupon code value, which is not currently a supported derived field.

Related rules

Try this rule in your store

OrderBadger is free on WordPress.org. Install it and create this rule in minutes - no code required.

Install OrderBadger Free