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
- After the modifications, you can then host this on your server, copy the URL and paste it in "Unsubscribe url" seen after you select "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 unsubscribes statistics for an email campaign on the Campaign Info page.
Adding 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="http://emailapi.
moengage.com/v1/ emailunsubscribe" > unsubscribe_text </a>