Skip to main content

Hi there,

I’m having this issue with my welcome email. Klaviyo has generated random unique discount codes on my shopify store that will be revealed upon a customer subscribing to the email list. However, this is what customers are currently seeing. Appreciate help with this! 

 

 

Hello ​@lemondropfarm 

It seems the discount codes are being improperly revealed in the welcome email. To fix this, check the dynamic variables in your email template and ensure the discount code is linked correctly to each subscriber. If this issue persists or is complex to implement, feel free to reach out, and I can assist you further with the setup.

 

 


Hi there,

You’re missing the {{ from the personalization piece in the beginning.  Should look like this:

Hi {{ first_name|default:"there" }},

For the discount code, it’s something like this, where ‘Subscribe’ is the name of the code you created in Klaviyo codes.

Get 15% Off with code: {% coupon_code 'Subscribe' %}

Hope that’s helpful.


Hello ​@lemondropfarm 
 

It seems the issue is with how the unique discount codes are being displayed in your welcome email. I can guide you to fix this or implement the solution for you.

Feel free to reach out if you'd like assistance with the setup or troubleshooting!

Best regards,
Romoke


Hi ​@lemondropfarm 

Thank you for posting in the Community!

Just to give you an explanation. 

For showing the unique discount code, you would need to include the following code into your e-mail: 

{% coupon_code 'NAME_OF_YOUR_UNIQUE_COUPON' %}

That code will help you show the unique coupon.

Hope that helps! :-) 

Christian Nørbjerg Enger
Partner & CPO
Web: Segmento.dk
LinkedIn: @christianfromsegmento
Voldbjergvej 22b, 8240 Risskov