Looking for alternative solutions to adding dynamic preheader text. Our emails must be bilingual, so dynamic content is ideal. What workarounds are others using to solve this problem?
Are you using anything at present to populate the dynamic pre-header text?
One way is to use the velocity/other custom my/person tokens to personalize the pre-header text, refer this post from Courtney here.
Courtney's approach is solid... BUT it can lead to confusion as the email editor also has a location to enter pre-header text now. As long as users are well trained to NOT use Marketo's built in pre-header 'editor' then it can work fine. It also burns a segment!
I like the Velocity approach you proposed. But then again, those who know me will find that unsurprising :)!
Yes thank you, @Jo_Pitts1! The OOTB built-in pre-header in Marketo must not be used with this as it’ll be added before the invisible span pre-header in-case both are used in the email.
We have been creating separate emails and avoiding dynamic text altogether as the OOTB preheader can't support dynamic text. I'm not familiar with Velocity.
Velocity is a scripting language you can use to extend the richness of emails.
For example, you might create a velocity email token something like this
#if ($lead.lastname.equals("Vuong")) This text gets displays. East West Vuong is the best #else You're no Vuong, but you're OK! #endif
Where ever you drop that in your email, it'll get evaluated and the correct text output.. including in the preheader!