A less labor-intensive way to include emojis in the HTML part of Marketo emails

SanfordWhiteman
Level 10 - Community Moderator
Level 10 - Community Moderator

Emoji support in Marketo is, admittedly, somewhat arcane. You can use emojis everywhere: email Subject lines, HTML email content, landing pages, and even Text-Only emails. But you have to know how to embed them into your content.

 

Some parts of the email editor strip out emojis (plus other high-Unicode characters that technically aren’t in the emoji-data block) upon clicking Save; other parts discard them upon Preview. So it’s easy to get discouraged when you try one or two methods and emojis silently disappear — even if you use the HTML entity like ᐗ.

 

Sometimes people conclude that Marketo doesn’t support emojis at all. But it does! If you persevere (or search my posts on the subject) you’ll find the way to get them to stick around.

 

For email body content, that way is to use a Text {{my.token}}. The token value can be either the HTML hex entity (ሴ) or the HTML decimal entity (Ӓ). I don’t recommend using the decimal version, however, as the official Unicode database is standardized on hex representation.

 

So people normally create a new {{my.token}} for each emoji, like so:

2022-01-20-23_24_22-Program-Lab-8427---Unicode---Marketing-Activities

 

But what if I told you that relatively time-consuming process (though it certainly works) wasn’t necessary?

 

In fact, all you need is a beginning {{my.token}} and ending {{my.token}}:

2022-01-20-23_14_45-Program-Lab-8427---Unicode---Marketing-Activities[1].png

 

Then wherever you need an emoji, just wrap the hex character code inside those tokens:

2022-01-20-23_25_30-Program-Lab-8427---Unicode.Lab---Split-token-around-entity[1].png

 

Marketo won’t strip out the emoji in the editor because it’s partially composed of tokens, and the final result ሴ doesn’t exist until email assembly time.

4103
4
4 Comments
Jo_Pitts1
Level 10 - Community Advisor

@SanfordWhiteman, nice work.  I love using Begin and End tokens for all kinds of things, but hadn't considered this specific application.

SanfordWhiteman
Level 10 - Community Moderator

Me neither until last week!

nav-r2c
Level 1

Does this tactic also work for landing page body content?

SanfordWhiteman
Level 10 - Community Moderator

Sure.