Marketing emails essentially see users unsubscribing and MoEngage ensures that no further emails are initiated to these users. The way the unsubscribe link is inserted and MoEngage tracks unsubscribes depends on the SMTP Connector.
Mandrill / Sendgrid Unsubscribe Tracking
If you are using SendGrid or Mandrill for unsubscribing tracking, you can go to their respective documentation - SendGrid, and Mandrill. We will receive unsubscribe information directly from SendGrid and Mandrill.
Amazon SES / Custom SMTP Connectors
For Amazon SES and other SMTP connectors, we have an unsubscribe tracking mechanism where we can get this information and restrict any further emails to unsubscribed users. Follow the below steps to implement unsubscribe tracking:
- Download this Email Unsubscribe HTML template
- You can make your brand-related and any other additions to this template.
- After the modifications,
- Host it on your server,
- Copy the URL and paste it into the "Unsubscribe URL" after selecting the "MoEngage Tracking" under the respective connector configuration.
- Do not forget to save the configuration.
This unsubscribe link will be placed in the email footer as - "If you do not wish to receive future emails, unsubscribe here"
You can see the unsubscribe statistics for an email campaign on the Campaign Info page.
Adding the Unsubscribe link in the email body
If you would like to place the unsubscribe text somewhere specific in the email content, you can do so by linking the custom text to [unsubscribe_here]
Use the below HTML code to customize the MoEngage unsubscribe link in the email body
<a data-msys-unsubscribe="“1”" href="https://api-01.moengage.com/v1/emailresubscribe" > unsubscribe_text </a>