Personalization Tokens personalization-tokens
The email designer has a different format than the classic email editor when it comes to email personalization tokens. The change was implemented to improve compatibility with Handlebar scripting and streamline your email creation process.
Primary Use Case primary-use-case
This enhancement primarily benefits those transitioning from Velocity scripting to Handlebar scripting. The new email designer only supports the new token format. The updated format eliminates spaces and introduces a revised default text structure, ensuring a smoother and more efficient scripting experience.
Token Experience token-experience
A look at the token experience, both old and new.
Old Format old-format
In the classic email editor, you could add tokens with spaces, such as lead.Anonymous IP
, or member.registration code
. The format for default text was: {{lead.City:default=fallback}}
New Format new-format
In the email designer, you must use or underscores for tokens (e.g., lead.anonymousIP
or member.registration_code
). The format for default text also changes to {%=lead.city ?: "fallback" %}
.
Things to Note things-to-note
-
The personalization editor also features the following functions for ease of authoring:
- Undo/redo
- Find/Find & replace
- Autocomplete
-
All tokens previously supported in Marketo Engage are supported in the new personalization editor.