Skip to main content
Question

Automatically apply unique coupon codes through coupon link address

  • February 3, 2026
  • 1 reply
  • 15 views

Forum|alt.badge.img+1

Hi all, 

I’m creating a win back flow where I’ll be using unique coupon codes. Everything is pretty clear but now Klaviyo asks me for a link address behind the coupon block. If I just put my collection page link behind the button, which would be https://www.myshop.com/collections/meals, will the coupon then automatically be applied, or should I add a discount redirect to this link still? What should I have exactly as a link address if this is the case?

The prefix of the unique coupon code is welcomeback and my shop is in Shopify.

Kind regards!

1 reply

whereisjad
Expert Problem Solver IV
Forum|alt.badge.img+17
  • Expert Problem Solver IV
  • February 3, 2026

@thuysvers you will find solution to your problem in this article

In the email template you could include Django logic like this:

{{ event.extra.checkout_url }}&discount={% coupon_code 'CouponName' %}

or

{{ organization.url|trim_slash }}/discount/CouponName?redirect={{ event.URL|cut:"https://YourSite.com" }}