Acting on the data

Segment discount codes

Generate a discount aimed at one segment, such as customers about to lapse.

On any segment detail page you can create a real Shopify discount code targeted to customers in that segment. Miko AI tracks every redemption and attributes the recovered revenue back to the campaign.

How it works

  1. Open a segment and click Create a discount for this segment
  2. Choose percentage off (e.g. 20%) or fixed amount and a validity window (1--365 days)
  3. Miko creates the code in your Shopify Discounts admin restricted to customers in that segment
  4. Copy the code and use it in your Shopify Messaging campaign or email
  5. When a customer redeems it, Miko tracks the redemption count and revenue recovered on the segment page
Tip: Discount codes work especially well for Lapsed and At Risk segments. Include the code in the AI-generated email copy from the same segment page.

Related articles