Boolean

A simple on/off or true/false input, displayed as a switch in the Email Editor.

Works great for:

  • Show/hide specific elements, i.e. making a CTA button optional.

  • Toggle direction, i.e. in a component showing an image on the left, and a text on the right, you can make a toggle to allow the marketeer to switch the direction, so text shows on the left and image on the right.

Template Editor

The output of the variable will be true/false, meaning you can use it together with Liquid in your template code together with an if-statement:

{% if article.show_cta %}
  // CTA Button Markup
{% endif %}

Email Editor

Last updated