(New editor) Display conditions

In this article, you can learn more about how Stripo's "Display conditions" capability operates and is configured.

Valeriia avatar
Written by Valeriia
Updated over a week ago

The "Display Conditions" parameter allows you to dynamically change the content of the email/template displayed to recipients after mailing, depending on whether the specified condition is met or not.

Please be advised that different email services use their own conditional comments to display personalized content based on a condition. The editor just allows adding merge-tags and conditional comments into the body of an email template. In the process of sending, an email service that you use for sending should find and replace the conditional comments in the code with real content.

That's why, first of all, you should contact your ESP to clarify the conditions that you will need to pass into an email template.

If, for some reason, the email service doesn't handle the conditional comments in the process of sending, you can try to request more information from their support and specify there if the right format for the comments has been used.

How to add the conditions to the email template?

  • Firstly, to activate the "Conditions" tab, go to the "Settings""Projects & Groups" and choose the Project or the Group you'd like to add the conditions into;

  • Then, go to the "Display Conditions" tab and enable the toggle;

  • When the "Display Conditions" option is activated, let's apply a sample to the content part.

I prepared an email template with two structures of different products:

In the first structure, we have added a product that will be displayed to women when sending it.

In the second structure, we have added a product that will be displayed to men when sending it.

How to write a rule for the structures?

  • Select the structure with female content and activate the "Apply Display Conditions" control;

Important to note: conditions can be applied to a container, structure, or stripe.

  • In the following fields:

    • Condition Name (you can give any name of your condition);

    • Description (it's an optional parameter. You can leave notes for yourself);

    • Code before module and Code after module (pass the condition code responsible for displaying this content part for the female you specified with your ESP).

In our case, I added this conditions' example:


  • Done, we applied the conditions for our female structure;

  • Let's do the same with the structure of male content.

I added this conditions' example:


How to check the condition rules?

In the preview mode, you will be able to see a new control that will allow you to see the email in compliance with the display conditions. Please, be aware that the final check of the display conditions is possible only from a real mail client in the client's mail account.

  • Go to the "Preview" mode;

  • Click on the "Display Conditions" button and switch between different rules to check the correctness.

How to create a prepared list of Conditions to save time for routing operations?

  • Go back to "Settings""Projects & Groups" and choose the Project or the Group you'd like to add the conditions into;

  • Then go to the "Display Conditions" tab and click the "Create a condition" button;

  • And set up the conditions for the email template that will be applied to your email service provider during the sending of the emails.

  • In the "Create a condition" tab, fill in the following list of parameters that need to be filled in and save it;

  • After all the variables have been added and the condition is saved, open your email template, select the place where the conditions should be applied, and select a value from the pop-up list;

  • Let's say you would like to add different information to display in the email for other categories. To do this, create a New condition in the "Projects & Groups" settings.

Important to mention: you will see the condition codes in the HTML only after export.

Thank you for taking the time to read our articles. We hope you will find this information helpful.

If you have any additional questions, please email us at support@stripo.email.

We would be glad to talk with you.

Did this answer your question?