Unsubscribe tokens

gunsub: Global Unsubscribe
lunsub: Local Unsubscribe

Insert a link to perform the relevant unsubscribe action. Behaves in a similar fashion to the Weblink token.

options

N/A

value

  • Text to display for the generated link.
  • If no value is set, return the unsubscribe URL rather than generating an HTML anchor tag.

alternate

URL for a custom confirmation page, can contain a Recipient token.

Examples

Example #1: Adding the link to an existing A tag

Typically designers need control over the styling of the A tag, so need Maxemail to only add the relevant URI within an existing A tag.

<a href="[gunsub]">unsubscribe</a>

Example #2: Using a custom confirmation page with an existing A tag

<a href="[gunsub;https://www.example.com/unsubscribe-confirmation.html]">unsubscribe</a>

Example #3: Maxemail adds the A tag

The simplest way to create an unsubscribe link is to use Maxemail to create all the necessary HTML.

[gunsub:unsubscribe]

Example #4: Using a custom confirmation page

gunsub:unsubscribe;https://www.example.com/unsubscribe-confirmation.html]

👍

Result

All the examples above will output something similar to the HTML below (when added within HTML content!)

<a href="https://mxm.mxmfb.com/rsps/m/abc123abc123abc123abc123">unsubscribe</a>