Unsubscribe

URL

/unsubscribe

Screenshots

form

3072

confirmation

3072

Structure

unsubscribe.html.liquid
├── _header.html.liquid
└── _footer.html.liquid

Template Considerations

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).

Form

The Unsubscribe page uses an HTML form to handle the CTA button. Please make sure you're not overwriting its internals:

  • the action and method attributes on the <form> HTML tag
  • the form_authenticity_token Liquid tag inside the <form> HTML tag
  • the name attribute on the <input> HTML tags