Emojis in Preheader | Community
Skip to main content
Michael_McGowa1
New Participant
April 22, 2020
Question

Emojis in Preheader

  • April 22, 2020
  • 1 reply
  • 6846 views

Has anyone had success in putting emojis in the preheader? I have been able to do it in the subject line by following the method here https://blog.teknkl.com/yes-you-can-use-emojis-in-marketo-subject-lines/?marketo-nation but when I follow the same method for the preheader, the code renders and not the emoji. If I try putting the emoji in the preheader text, then the rest of the text disappears. I also tried making the preheader a token but that did not help. Any advice?

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

1 reply

SanfordWhiteman
New Participant
April 22, 2020

Q-encoding won't work in the preheader in any case (as it's part of the HTML). Try placing the raw Emoji characters in a Velocity {{my.token}} (but not using the built-in Preheader shortcut, actually build it into the termplate).

Michael_McGowa1
New Participant
April 22, 2020

Unfortunately, that did not work. I also tried saving the raw emoji as a text file, then rich text file in the tokens window and those did not work either.  FYI, I am putting this code in my styles tag

span.preheader { display: none !important;}

 

Then the following after the body tag.

<span class="preheader">{{my.clipboardemoji}} Earn Cash Just by Completing Free Surveys Online {my.moneybagsutf}}</span>

 

Thoughts?

SanfordWhiteman
New Participant
April 23, 2020

You're missing a left curly brace {.

 

I don't know what you mean by "file" here — in any case, I'd need to see the contents of your Velocity token. It won't work in a Text token, definitely not in a RT token.