Search through more than a hundred articles on every aspect of

Michael Wertenberg
Written by Michael Wertenberg

Put an unsubscribe button in your emails

A ready solution for an unsubscribe button for your emails

Why put an unsubscribe button in emails?

Unsubscribe buttons are a must-have. Not only are they an integral part of marketing etiquette, without them, your emails would be marked as spam and your deliverability levels would plummet. This is why we provide you with a simple solution for putting an unsubscribe button in your custom templates.

How to add an unsubscribe button in the email

All you need to do is paste the piece of code provided below in your template or email message. When sent, It will be changed into a unique unsubscribe URL.

<div id="UE_unsubscribe">Unsubscribe message here</div>

Basically, any valid HTML element with attribute


will be turned into HTML element

<a href="#" ...>...</a>

How to set a button "Unsubscribe from a certain list"

If you are a service provider, you might have separate lists for newsletters and important alerts. When a user unsubscribes from the newsletter, you still want to send them alerts.

Here is how you can create an unsubscribe button that only stops you from sending one type of email.

  1. Go to "Tools" -> "Lists".
  2. Copy the tag from the column "Unsubscribe tag".
  3. Go to your email message ("Campaigns" -> "Email" -> "Resources" -> "Messages").
  4. Open the code mode. (Click on the wheel icon to the right of the column, "Author", and choose "Edit code". ) Search for id="UE_unsubscribe".
  5. Simply, replace the ID with the ID you've just copied. It should look something like: UE_unsubscribe_list_123.

How to put an unsubscribe link with the email editor "Simple drag&drop"

This is even simpler than the option above. If you use the editor, "Simple drag&drop", to create/edit your email messages and email templates, then you only need to do one step!

When you open the email template with this editor, go to the panel on the right and find the section "Content". There, you will see the option "Unsubscribe". Simply, drag and drop it where you'd like the link displayed inside your message/template.

That's all!You can modify the text and change 'Unsubscribe' to 'Click here to unsubscribe' or any other option you need. Simply, click on "Unsubscribe" in your template and the edit panel will appear on the right. That's all!