The Unsubscribe template exposes a
token variable which returns an auto-generated token needed to authorize the action of unsubscribing from the emails. Based on the value of the
token variable you can differentiate between the form page (token not empty) and the confirmation page (token is empty).
The Unsubscribe page uses an HTML form to handle the CTA button. Please make sure you're not overwriting its internals:
methodattributes on the
form_authenticity_tokenLiquid tag inside the
- the name attribute on the
Updated over 2 years ago