Hi chat!
Is there anyone who knows how to add a dynamic coupon code created in Klaviyo into a button linking customers back to their checkout process?
For further explanation: I am splitting my abandoned checkout flow for those who are going through my welcome flow. The trigger is set for when a lead from the welcome flow creates “checkout started”, they’ll be moved to the abandoned checkout flow and segmented based on how far in the welcome flow they’ve gone. It’s a little complicated but that’s not the case for today - I am only in search of how to link the buttons so that those who have their welcome flow coupon, can have that coupon linked directly in the checkout.
I have been searching around on the web and in the community pages but I can’t really find a good answer. The best link example I found was this: “https://www.mysite.com/STOREFRONT_ID/checkouts/{{ event.extra.token }}?discount={% coupon_code 'NAME_OF_YOUR_COUPON' %}”
Now the only tricky part about this link is that I can’t really find my storefront ID, is this suppose to be my store name, some random numbers or a specific url? Would love if anyone could help out here!
I use Shopify and my domain url is: www.ninjaprotector.com
Have a great day!