How to use Content Block

To use content blocks in email editor, you can follow these steps:

  • Add a text element and click on Add variable button and go to Content Blocks

  • After clicking on the option, select the content block you want to add from the dropdown

  • Click on Insert and the liquid code to add the content block will be automatically added

Alternatively, you can directly type the liquid code reference as follows:

{% contentBlock 'content-block-name'%}
  • You can go to preview section and view the complete email with content block rendered

These content blocks are html blocks only which are defined outside of the editor and can be added like a variable in the email editor from variable dropdown in a text. They can also be referenced anywhere in html using {% contentBlock 'content-block-name' %} They are editable in html. and available for segmentation.These are different from blocks in drag and drop editor in following way:

  • Blocks in drag and drop email editor are saved blocks from what is created in drag and drop editor already for reuse in drag and drop email editor

  • Content blocks are a separate section under content which is entirely html and can be used for email (html and drag/drop) and push

Last updated

Was this helpful?