Skip to main content

Hi there - I’m sure this question has been answered somewhere, but I can’t seem to find it anywhere. 

I’m looking to automatically apply a discount in my browse abandonment flow while also re-directing subscribers to the item(s) they were viewing using the BA syntax. 

I’ve done this plenty of times with abandoned checkout using the following syntax: {{ event.extra.checkout_url }}&discount=DISCOUNTNAME and assumed it would work just as easily with the browse abandonment syntax: {{ event.URL }}&discount=DISCOUNTNAME, but it doesn’t seem to be working and sends me to an error page on my site. 

Could someone help me out or shoot over an article/post that explains what I’m supposed to do?

Thanks in advance!

Hey ​@foliagemarketing 

Yup, this is mentioned exactly here

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

I hope this helps and thank you for sharing your question here in the community.

Cheers

Arpit


Hey ​@ArpitBanjara - appreciate the link / suggestion. 

However, I’ve tried this and I continue to get an error. (See Screenshot)

 

Not entirely sure where to go from here… Any additional troubleshooting help would be much appreciated!


Reply