How to add unsubscribe link to custom html 5 template? | Community
Skip to main content
Level 2
Oct 25, 2023 3:13 PM UTC
Question

How to add unsubscribe link to custom html 5 template?

I need to create unsubscribe link to insert in my html email (it should be dynamic for language) and I should see the unsubsription in the report area.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

SatheeskannaK
Level 1
Oct 25, 2023 9:44 PM UTC

@giuliozu, You can have a content block for each language, and make sure to use add _type="optout" to your opt-out links. Within the email template write a code to refer content block based on the profile language. But the problem is unless you use the ACS landing page you will not be able to get that in the Unsubscriptions report as far as I know.

Translate
Thanks, Sathees
GiulioZuAuthor
Level 2
Oct 26, 2023 7:32 AM UTC

At the momenti this is my link: 

<a data-nl-landingpage="VAL_Unsub_FR" data-nl-landingpagedynamicservice="false" data-nl-landingpagelabel="VAL Unsubscription FR" data-nl-type="landingPage" href="#" id="a15840993430068" style="display: inline-block; font-family: Arial, Helvetica, sans-serif; font-size: 11px; line-height: 12px; color: #ffffff; text-decoration: underline;" target="_blank">UNSUBSCRIBE </a>

So, you suggest to me to add `_type="optout"` to the <a> link?

Translate
Sukrity_Wadhwa
Employee
Dec 6, 2023 1:28 PM UTC

Hi @satheeskannak, Can you please confirm what @giuliozu's asking? Thanks!  

Translate
Sukrity Wadhwa