Skip to main content

I already tried to set up dynamic coupon code but it’s working. When I set a CALL TO ACTION button, this link redirects me to another page! It’s not going to my Shopify Chackout page and not apply the dynamic coupin code automatically!

@forman - When you add a Button Block in the Klaviyo Template Editor, you have to adjust the Button Link to where you want it to go like this:

 

Then, you have to use the “Coupon Name” as part of the link to apply the dynamic coupon like this:

https://shopifystore.com/discount/{% coupon_code 'example_coupon_code' %}

If you want it to go to your checkout page, you have to add the redirect to the checkout, depending on which Flow Metric you’re using, you can typically use this URL:

{{ event.extra.responsive_checkout_url }}

 

Here’s a few additional resources to help you with more detail:

Hope this helps!


Reply