I want to be able to embed a discount in the dynamically generated links.
How do I slice the path out of {{ event.URL }}?
ex: www.xyzcorp.com/discount/SAVE?redirect={{ event.URL | slice path }}
I want to be able to embed a discount in the dynamically generated links.
How do I slice the path out of {{ event.URL }}?
ex: www.xyzcorp.com/discount/SAVE?redirect={{ event.URL | slice path }}
Best answer by rreno
For anyone interested, here’s the answer on how to achieve the question at hand.
This is what the link should look like in the Browse Abandon Flow where the dynamic {{ event.URL }} is used with Shopify.
https://www.YOURWEBSITE.com/discount/YOURDISCOUNT?redirect={{ event.URL|cut:'https://www.YOURWEBSITE.com' }}
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.