Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

For advanced developers, you can use Velocity scripts in your emails. Here's how to do it.

Marketo note

All Total size of all script tokens , (single or combined, ) cannot exceed 100KB in size.

Numbered Headings
start-numbering-ath5
Go to Marketing Activities.
Find and select any program (Event, Default, or Engagement, etc).
Under the My Tokens tab, drag in an Email Script token.
Name your email script token and click to edit its content.
Use the tree on the right to drag in Person, Opportunity, or Custom Object tokens.

Marketo note

When accessing an array (opportunity or custom object) you are limited to the most recent 10 items associated to the person.

Notice the token becomes checked/active after you drag it into the script editor.

Marketo reminder

If you are typing in tokens free-form ensure to check/activate all corresponding tokens in the tree or they will be treated as plain text and won't work.

Write your script in Velocity. Here are some useful resources:
Once your script is completed, click Save.
Click Save one more time.

...