Unsubscribe link missing in emails

Anonymous
Not applicable

Unsubscribe link missing in emails

Hi all,

our latest email, that was not operational, had no unsubscribe link - the entire line - as it arrived at users' mail. Normally it's automatically added to the letters; we don't have it in the email template. Did anyone face the same issue and why could that have happened? Could it be something in the code that did not get along well with the unsubscribe line?

Tags (1)
3 REPLIES 3
Dory_Viscoglio
Level 10

Re: Unsubscribe link missing in emails

Hey Elena, have you reviewed that nobody changed anything in the Admin section? See this tutorial for more info. The unsubscribe link can be removed from there which would impact all of your emails.

Anonymous
Not applicable

Re: Unsubscribe link missing in emails

I just noticed something that could be related. Here's how the generated HTML looks in an email preview:

<a class="mktUnSub" href="http://URL?mkt_unsubscribe=1&mkt_tok=<!-- Footer Privacy Editable Text -->

<td align="right" style="font-family:Arial, Helvetica, sans-serif; font-size:12px; color: #6e6e6e; text-transform: uppercase; white-space:nowrap !important;"><a href="URL" target="_blank" style="font-family: Arial, Helvetica, sans-serif; font-size: 11px; color: #6e6e6e; text-decoration:underline;">Privacy Policy</a></td>

See how the commentary line <!-- Footer Privacy Editable Text --> has moved inside the link and by that snipping anything that follows?

This is the URL parameter we use to create the correct unsubscribe behavior: ?mkt_unsubscribe=1&mkt_tok=##MKT_TOK## - and that seems to mess up the preview. That is a very new occurrence - but it seems not to occur on the email after it is actually sent.

Grégoire_Miche2
Level 10

Re: Unsubscribe link missing in emails

Hi Elena Shabanova and All,

There are 2 ways to set unsubscribe links in emails.

  1. The first one is to use Marketo default system (admin-> email). Thedrawbacks are that iy have less control on the integration in the templates and it is impossible to have multiple variants of it (for instance by language).
  2. The second one is to insert the {{system.unsubscribeLink}} somewhere in you email templates. You can even do this with snippets that will enable you to use segmentation based on geographical or language criteria. It you want to do this, you will have to disable the Marketo default. This is done by removing all the codes in the admin->email section. As you cannot leave it empty, just set the HTML to "<!-- comment-->" and the text version to.

But is you try a mix of both ways, it will get very messy

The same applies to the view as web page link BtW.

-Greg