Unsubscribe Tags

mfadal

Member
Hello,

So far i was using the unsubscribe tag of [DIRECT_UNSUBSCRIBE_URL] but before a few days i read in some other article that this tag was not advisable and instead should use [UNSUBSCRIBE_LINK]

I have replaced the [DIRECT_UNSUBSCRIBE_URL] with [UNSUBSCRIBE_LINK] and now the unsubscribe link is broken in the email.

html code:
<a href="[UNSUBSCRIBE_LINK]" style="color:black; text-decoration: underline">Unsubscribe </a>

Email displays as:
Unsubscribe" style="color:black; text-decoration: underline">Unsubscribe

What am i doing wrong?

Which tag should be used if i want users to be unsubcribed directly?


Thanks,
Mohammed
 
Which tag should be used if i want users to be unsubcribed directly?
Inside a href you need to use [UNSUBSCRIBE_URL] which will generate only unsubscribe url, not [UNSUBSCRIBE_LINK] because this tag will generate entire html code for unsubscribe button.
 
Thanks Laurentiu, though am not sure what this means, can you please paste this 1 line as it should be used?
 
Thanks Laurentiu, though am not sure what this means, can you please paste this 1 line as it should be used?
Use [UNSUBSCRIBE_URL] tag inside a href tag like this: <a href="[UNSUBSCRIBE_URL]" style="color:black; text-decoration: underline">Unsubscribe </a> because this tag will generate only unsubscribe url.

[UNSUBSCRIBE_LINK] tag will generate all html code for unsubscribe something like: <a href="http://mailwizz.test/index.php/lists/sv616r18dsd88/unsubscribe/v= d095n47a8f36/jd919ty54j48c">Unsubscribe</a>
 
Thanks Laurentiu, got it. Which tag should be used for direct unsubcribes? Previously i was using [DIRECT_UNSUBSCRIBE_URL] has this been replaced by a newer tag?
 
Back
Top