Is there any way to disable link tracking for certain links when sending emails from Rails through sendgrid?
My recent search brought me here. I hope my late answer might help someone else in a similar situation.
Yes, there are ways:
(kind of a hack): Modify the links so that SendGrid does not accept the format(but still renderable in mail client), such as to omit http://
or to add spaces around =
in the anchor tag. For example: <a href = "www.sendgrid.com">Not Tracked</a>
The official way: Add a clicktracking=off
inside the anchor tag to tell SendGrid not to track it. For example: <a clicktracking=off href="http://sendgrid.com">Not Tracked</a>
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