Tibin Paul
Tibin Paul

Reputation: 846

Sendgrid unsubscribe tag getting converted to htmlentites

I am having a weird issue with Sendgrid's Group Unsubscribe Substitution Tag. I have inserted the tag <%asm_group_unsubscribe_url%> in the html mode directly, saved and it works well. When I go to the design mode and come back to the html mode the tags are getting converted to html entities like &lt;%asm_group_unsubscribe_url%&gt; and not working. Can anyone help me with this issue?

Upvotes: 2

Views: 1300

Answers (1)

Alex Mohr
Alex Mohr

Reputation: 21

Just delete the < and >

It's not an HTML tag, it's just template code so you only need %whatever_unsub_url% and it should work as long as the name matches up with what you've set in your SendGrid settings. It's actually just printing the link, so you can do something like

<a href="%sendgrid_unsub_url%">Click to unsubscribe.</a>

Upvotes: 2

Related Questions