Identify Customers that Used a Discount Code
While there isn't a specific metric for discount codes in Klaviyo, we sync a Discount Codes property for each order where a discount was applied.
To identify all customers who have purchased using a specific discount code, you can build a segment. Using the segment builder, use the conditions:
has Placed Order at least once over all time >
where Discount Codes contains _____