How to add an unsubscribe link to your email template?

Discover how to include an unsubscribe link in templates built with Batch's email composer or your own HTML.

Why add an unsubscribe link to your email?

Adding an unsubscribe link to your e-mail marketing campaigns allows Batch to get instant opt-out feedback and to not retarget recipients who have chosen to unsubscribe.

Thus, it allows:

  • Not to generate dissatisfaction with the recipient who has chosen not to receive e-mail marketing anymore.

  • Not to damage the sending reputation.

Here is an example of an unsubscribe link:

Unsubscribe from an email is recorded when the end user clicks on the unsubscribe link. The end user then lands on an unsubscribe confirmation page.

Adding an unsubscribe link to a template via HTML

Here is how you can simply add an unsubscribe link for an email template in a single language:

<a data-msys-unsubscribe="1" data-msys-linkname="batch::unsub" href="[LANDING PAGE LINK]">Unsubscribe</a>

If the email template already contains personalization conditions to change the language of certain text blocks, the same should be done for the unsubscribe link:

<a data-msys-unsubscribe="1" data-msys-linkname="batch::unsub" {% if b.language == 'fr' %}href="https://static.batch.com/list-management/landing.fr.html"> Se désinscrire {% else %} href="https://static.batch.com/list-management/landing.html"> Unsubscribe {% end %}</a>

You can also insert an unsubscribe link easily when using the email composer to create your email templates.

To do so:

  1. Select the text

  2. Add a hyperlink to the text area

  3. Select the Unsubscribe option listed in the Link field on the left side panel.

The unsubscribe landing page is in English and does not support adding custom landing page at the moment.

Choosing a confirmation landing page

Once recipients click on the "unsubscribe" link:

  • Batch removes the recipients from the marketing mailing list

  • Recipients are redirected to a personalized landing page hosted on your side

By default, the purpose of this page is to confirm that the user is opt-out of your marketing mailing list. It also gives you a last chance to convince them to stay and continue to receive your content by redirecting them to a preference centre.

If you do not have one yet, you can use our default landing page:

Last updated

Was this helpful?