Sendgrid - is it possible to have subscription tracking without inserting the unsubscribe link?

120 Views Asked by At

Our current implementation allows for a custom unsubscribe link to inserted into the email body. Clicking on the link directs the user to a page on our server where they can unsubscribe from our mailing list.

We currently listen and record message events from sendgrid (received, open, unsubscribe).

I want to add the list-unsubscribe headers that when the user clicks unsubscon the email detail dropdown, creates an unsubscribe message event. I've turned on Subscription Tracking which is doing this correctly - but also appending an unsubscribe link which isn't necessary because we have them already inserted in the message body. Is it possible to have the list unsubscribe headers but not have the unsubscribe message appended.

enter image description here

1

There are 1 best solutions below

1
esqew On

This is how Gmail specifically treats recieved messages containing a List-Unsubscribe header. This behavior is baked into Gmail itself and cannot be disabled without removing the header from your message entirely.

SendGrid's docs have a section speaking explicitly to this Gmail-specific behavior.