Re: Tips - Lack of Compatibility between Global Variables in Marketo Emails and Dynamic Segmentation

Alexis_Shamsi_H
Level 3

Tips - Lack of Compatibility between Global Variables in Marketo Emails and Dynamic Segmentation

Our Marketo consultant coded a master email template for us using global variables to allow greater ease in formatting fonts, etc.

 

We unfortunately tried to use dynamic segmentation/content in several email modules and discovered that this stripped the modules of the global formats - losing our default font styles, letter spacing, etc.

 

I've just found out this is a known issue and am disappointed. How does everyone else solve for this? Do you forego global variables altogether and code the formats directly into each email module in your email templates?

 

Thanks in advance for any tips.

1 REPLY 1
SanfordWhiteman
Level 10 - Community Moderator

Re: Tips - Lack of Compatibility between Global Variables in Marketo Emails and Dynamic Segmentation

You should switch to tokens rather than global variables for this case. 

 

A Velocity {{my.token}} can even be made dynamic on its own (different output based on segment membership).

 

You can create mix-and-match combos segmented content using Velocity, where an outer piece of content is segmented by Segmentation A (using standard Dynamic Content) but a token inside it might be segmented by Segmentation B. This is not possible in any other fashion.