Shopify Retention Problems

Why Discount Codes Kill Margin (and What Loyalty Does Differently)

Discount codes train customers to wait for sales. Loyalty programs train customers to come back. The math on why it matters.

4 min read Updated May 2026

There is a specific behavioural pattern that most Shopify stores inadvertently create with aggressive discount code strategies. It goes like this:

  1. Store runs a welcome discount: 15% off first order.
  2. Customer uses it. Great.
  3. Store runs a "we miss you" discount: 10% off.
  4. Customer uses it and waits for the next one.
  5. Store runs a seasonal discount.
  6. Customer uses it. And now only buys when there's a code.

This is discount conditioning. Once a customer has been trained that waiting produces discounts, the baseline transaction — full price, without a code — stops happening. You've effectively cut your margin on every future order from that customer.


The margin math of discount dependency

Assume a 40% gross margin and an AOV of $100.

  • At full price: $40 gross profit per order.
  • After a 15% welcome discount: $25 gross profit per order.
  • After a 10% win-back discount: $30 gross profit per order.

If a customer only buys when there's a discount, and your average discount is 12%, you're operating at a 28% effective margin instead of 40%. On a store doing $500,000 revenue, that's a $60,000 annual margin erosion — entirely from your own discount strategy.


What loyalty does differently

A loyalty program creates purchase incentive without eroding the retail price. Here's the mechanism:

  • A customer buys at full price and earns points. The points cost you roughly 1–3% of order value (the cost of the eventual reward). Your effective margin is 37–39%, not 28%.
  • The customer comes back to use their points — which they can only do by buying again (for most reward types). The next order is also at full price.
  • The points expire if unused — creating urgency without a discount.

Compare:

  • Discount code strategy: Customer buys twice. You earn $25 + $30 = $55 gross profit. Customer comes back only when you discount.
  • Loyalty program strategy: Customer buys twice at full price. You award points worth ~$5. You earn $38 + $38 = $76 gross profit minus $5 reward cost = $71. Customer comes back because of points, not discounts.

The loyalty strategy generates 29% more gross profit on the same two-order customer.


When discounts are still appropriate

Discounts are not universally bad. They work well for:

  • First-order conversion for price-sensitive segments (as part of a paid acquisition strategy)
  • Referral welcome offers (the discount is acquisition cost, not retention cost)
  • Time-limited clearance events where moving inventory is genuinely the goal

The problem is using discounts as a retention tool — the pattern that discount conditions customers. Loyalty programs replace this specific use case more profitably.


Related guides


Ready to put this into practice?

Install Gratify and launch your loyalty program in minutes. Free plan available.

Install Gratify — Free Plan