Skip to main content

We are restructuring our loyalty program and will be creating automatic coupons to be emailed out on a quarterly basis to loyalty members.  These coupons will have a unique code for each customer based on points accruals and can be used at our brick & mortar as well as e-commerce store. 

Because the coupon code will live as a custom property in the customer profile, does anyone know of a way to generate a barcode in an email from this information? 

Hello @Sarah F.,

Excellent question!

Is this coupon you’ve generated using Klaviyo’s coupon feature? If so then you can generate a barcode to be used in an email by using the {% barcode_code 'CouponName' height=100 width=200 %} variable. You can learn how to set this up and additional parameters to this feature from the Send Coupons as Barcodes (Email Only) subsection of our Guide to Using Coupon Codes in Klaviyo Help Center article.

If this coupon code was stored as a custom profile property synced from a third-party source, then I would suggest investigating other third-party services that you may be able to leverage and generate these barcodes from. One thing to also keep in mind is that custom profile properties can only be stored as texts or numbers and does not support images. 

I hope this helps!

David


@David To 

Thank you!  This is very helpful.


Reply