Support
Still have questions? Message us.
If you use them, you can add template tokens/tags/variables throughout your pages and emails. These tags are processed by your web host when publishing your pages if there is a dynamic backend engine setup. Or, rendered in your email provider after 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 {{ user.name }}
<div class="block-edit">Hello {{ user.name }},</div>
You could also use custom code within a page or email, like for web page widgets, or segmenting content. 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.
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 a page or email.
If you drag the section code block to the top of your page or email, the code you add to it will place the code within the head tag on export.
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 page or email is exported, the hidden code gets output without being commented out.
Still have questions? Message us.