Help

Code snippets

Tokens

You can use email provider tokens/tags/variables throughout your template and emails as you normally would and they will be read by your ESP when exporting your emails to it.

This includes using tokens in text, links, and images as you build and edit emails in the visual editor. Note that images may appear to be broken if a token is used for an image's path.

Example:

Hello *|FNAME|*

<div class="block-edit">Hello *|FNAME|*,</div>

Code blocks

You could also use custom code within an email or page, like for segmenting content, or web page widgets. Just drag in the Code block section and/or component from the left sidebar. Any code block you add will be output as raw code within your exported HTML.

Snippets library

To save specific code snippets for your team to use, you can use the section code block, enter your code in, and pin it for reuse. You can also save a layout with code blocks throughout an email or page.

Code outside the body

If you drag the section code block to the top of your email or page, the code you add to it will place the code within the head tag on export.

Hiding code

If you want to prevent certain areas from being seen in Blocks Edit when working in the visual editor, wrap your code with the block-hide option to essentially comment it out while viewed in the editor.

Example:

<!-- block-hide -->
<p>Content</p>
<!-- end-block-hide -->

When the email or page is exported, the hidden code gets output without being commented out.

Support

Still have questions? Message us.