Skip to main content

Hey, 

I wanted to set up my dynamic checkout code - which is not working, this is my code:

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

When I do the “send test” it works, but when I try it on another device with another email it just takes me on the homepage and does not add the discount.

In theory this should work. (I tried replacing & with ? also).

  • I set up discounts correctly. As by guide in klaviyo etc.

 

Any tips how to solve this?

 

Filip

Hey Filip, the code seems correct. Quick one, did you add the URL above to the URL part of the checkout button within your Klaviyo email template editor?editor.

 

​​​​​Try that to see if that's the problem. I'd like to know

 


Hey @FilipFitoFito , 

How’s this coming along? Still having issues with the code automatically applying to checkout?

The best way to test this is actually with a live send vs a preview or test send. Here is some more info on this style email from Klaviyo:

 

https://help.klaviyo.com/hc/en-us/articles/115005253088


Reply