Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SendGrid - How to remove unsubscribe link from some emails sent using Dynamic template

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?

like image 374
Sneh Avatar asked Mar 28 '20 08:03

Sneh


People also ask

How do I remove someone from my SendGrid unsubscribe list?

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.

How do you change unsubscribe link in SendGrid?

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.

Do all emails need an unsubscribe link?

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.


1 Answers

Adding this parameter in the send email function would make it work as expected -

 tracking_settings: {
   subscription_tracking: {
     enable: false
   }
 }
like image 150
Sneh Avatar answered Nov 29 '22 22:11

Sneh