Email editor 2.0: variables in the text version | Community
Skip to main content
Grégoire_Miche2
Level 10
June 14, 2016
New

Email editor 2.0: variables in the text version

  • June 14, 2016
  • 12 replies
  • 13589 views

One limitation of the new text editor; variables are only supported in the HTML version, not is the text one.

So let's say you want to use a variable for the title of the email:

<p style="font-weight: bold; font-size:16px;">${EmailTitle}</p>

This paragraph would just not show up in the text version, meaning that the title you have set in the variable will not shown up in the text version.

-Greg

12 replies

Ulf_Deeg
Level 3
July 27, 2018

I do the following workaround

  1. embed variables as follows:   a href="${CTA-url}"
  2. use tokens like {{my.CTA url}} and to use inside the variable field
  3. use token like {{my.CTA text}} for the button text
  4. add a HTML invisible mktoText section inside the same module that contains the CTA
    <div class="mktoText" mktoname="CTA Text Only" id="cta-textonly" style="display: none; max-height: 0px; font-size: 0px; overflow: hidden; mso-hide: all">
    {{my.CTA text}} <[[{{my.CTA url}}]]>
    </div>
  5. the Text Only version will pull in {{my.CTA text}} <[[{{my.CTA url}}]]> as a separate line

Our Email Programs have tokens for every CTA module (of which you will need clones anyhow when using Variables). CTA1 text, CTA1 url, CTA2 text, CTA2 url and so on.....

If you use a Master Email Program that gets cloned, your fine. We need this anyhow due to several languages we market to.

February 6, 2020
No text available