I have enabled Subscription Tracking in SendGrid and set the content as HTML body. So every email sent programmatically(in Node.js) using dynamic templateId will have the unsubscribe link.
But we want one dynamic template not to attach the unsubscribe link while sending emails. The template does not have the "Unsubscribe" module but still the unsubscribe link will be present in the mails.
How to prevent one dynamic template from attaching the unsubscribe link?
Once recipients have chosen to unsubscribe from one of your marketing email lists, you can use the SendGrid “Manage Unsubscribes” feature to remove them from additional lists.
Using a Custom Unsubscribe LinkUnder Unsubscribe Group, select Use Custom Link... This will expand a new field where you can insert a URL for one of your own pages where recipients can manage their subscription preferences.
This law, enforced by the Federal Trade Commission, states clearly that you must include a clearly obvious way for subscribers to opt out of your commercial messages: Tell recipients how to opt out of receiving future email from you.
Adding this parameter in the send email function would make it work as expected -
tracking_settings: {
subscription_tracking: {
enable: false
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With