HI @amyrenegade thanks for posting in the Klaviyo community! You can easily create unique coupon codes in Klaviyo.
In Klaviyo:
- Go to content/Coupons
- Click “Create Shopify coupon in the top right
- Give the coupon code a name (ie. WELCOME10 - this is for internal naming purposes).
- Add a prefix to the unique code if you want (ie. WELCOME-F93G1D)
- Choose the type of discount you want (fixed amount, %, free shipping)
- Type in the amount off
- Choose how to apply the coupon (entire order, specific products, specific collections)
- Choose when the code activates
- Choose when the code expires
- When adding a dynamic code to flow email, I like to add an extra day or two on the expiry from what we say in the email that goes to the customer. Sometimes people open emails a day or two after they receive them, and we’ve been able to limit CS tickets about the code not working by doing this.
More info from Klaviyo: https://help.klaviyo.com/hc/en-us/articles/115006155388-How-to-create-unique-coupon-codes-for-Shopify
When you are showing the code in Klaviyo, this is how you would set it up: {% coupon_code 'NAME_OF_YOUR_COUPON' %}. When you preview the email, Klaviyo should show NAME_OF_YOUR_COUPON-PREVIEW and that lets you know that the dynamic code is functioning properly.
if you want to auto add the discount when someone checks out, you can include the code in your CTA link. The link would look like this: www.mystore.com/discount/{% coupon_code 'NAME_OF_YOUR_COUPON' %}
Hope this helps!
Katherine