Re: Using emojis in emails (body not subject)

ben_Green
Level 1

Hey!

Does anyone know if and how it is possible to embed emojis inside email text with Marketo? We see that whenever we try this, the emails send, but the text cuts off where the first emoji should have been.

Thanks!

Ben

Tags (2)
18 REPLIES 18
SanfordWhiteman
Level 10 - Community Moderator

Please provide the actual HTML you are using (the raw source).

ben_Green
Level 1

The jive interface keeps removing the emojis when I try to paste them here, but I've attached a screenshot of the html below.

Does this help?

Screen Shot 2017-09-12 at 9.38.25.png

SanfordWhiteman
Level 10 - Community Moderator

You should be using Unicode HTML entities. I wouldn't even try to use literal glyphs there -- not every browser can even display them.

ben_Green
Level 1

When I try to use unidoce, the Marketo email editor cuts them out entirely.

eXBaHDCz92.gif

SanfordWhiteman
Level 10 - Community Moderator

Try storing the entity in a Velocity token.

Anonymous
Not applicable

Hi, I'm not so familiar with velocity scripts, any chance you could elaborate on that? I've been trying to wrap my head around velocity tokens today and how I could use them to insert emojis but I can't even get velocity scripts to work.

SanfordWhiteman
Level 10 - Community Moderator

In this case you aren't using Velocity as a scripting engine nor accessing any lead fields, you're merely using it as a, shall we say, encapsulation engine to stop Marketo from messing w/output.

So create a Velocity token and put whatever text/HTML you want in there. You don't need to check off any fields on the right side.

Then embed the {{my.velocityToken}} in your email.

Anonymous
Not applicable

Oh ok, velocity token made it sound more complicated than it is! I was actually able to get an emoji in my body copy by inserting 😀 into either an email script token or a plain text token and referencing that token in the body. Thanks

Austin_Whiting1
Level 1

Hi there, did you surround &#x1F600 with anything in these tokens? Right now just using &#x1F600 as an example, I'm just seeing the text. Thanks a lot. 

SanfordWhiteman
Level 10 - Community Moderator

Needs a semicolon at the end or else it's not special.

Anshika_Jain
Level 1

I tried adding the unicode 😀 to the email body HTML, but when I previewed it deleted the emoji and the following text. Any suggestions?
I was wondering if it is an email editor 2.0 issue?

SanfordWhiteman
Level 10 - Community Moderator

As explained just above, put this character in a Velocity token, then include the token.

Anshika_Jain
Level 1

Thanks for the suggestion, but would you mind elaborating on that, I'm not familiar with Velocity token.

SanfordWhiteman
Level 10 - Community Moderator

Velocity is the language used to write "Email Script" tokens.

If you search the Community, you'll see many, many threads and blog posts exploring Velocity.

SanfordWhiteman
Level 10 - Community Moderator

Great, that's the way it's done!

ben_Green
Level 1

I'll give it a try, thanks!

Darrell_Alfons2
Level 10 - Champion Alumni
ben_Green
Level 1

Hey Darrel, thanks for the link. Unfortunately, it discusses adding emoji's to the subject of the email, and we are looking to paste them in the body section.