Current Lesson
Course Content
Course Content

Global snippets object

Global snippets can be set under Settings > Colors and Graphics (yeah, that's a bit confusing, we know...).

Each has a key, and some content.

Each key becomes an attribute on the Global snippets object that returns the current value of that global snippet.

The power is that you can change these global snippets in one place, and all the emails that include it are automatically going to change instantly. 

The content can contain Liquid code as well, and will be evaluated correctly, but it depends a bit on the context. See Code in emails for details.

 

Last updated 29 Apr 2019.