Trying to use Marketo <meta> variables (mktomodulescope) hidden from the editor. | Community
Skip to main content
New Participant
August 21, 2020
Solved

Trying to use Marketo <meta> variables (mktomodulescope) hidden from the editor.

  • August 21, 2020
  • 1 reply
  • 2176 views

I'm trying to use the Marketo variables to stylise the email template, without relying on css classes. The problem is that defining these variables and using them to dictate things like border widths, border radius' means they are editable as local or global variables in the Marketo email editor. The mktomodulescope attribute is boolean and only supports 'true' or 'false'. Does anyone know how I can keep the variables working in the background, but not include them as local or global variables?

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

To create the equivalent of template-level variables — variables that aren't user-editable in the Email Editor — you can use Text {{my.tokens}}, or at an advanced level, Velocity ("Email Script") {{my.tokens}}.

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
August 21, 2020

To create the equivalent of template-level variables — variables that aren't user-editable in the Email Editor — you can use Text {{my.tokens}}, or at an advanced level, Velocity ("Email Script") {{my.tokens}}.

mjc1895Author
New Participant
August 21, 2020

Thanks @sanfordwhiteman. I guess the meta variables were always designed to be used in the editor. I'll try using tokens as suggested.