Official comment
This type of functionality is planned, but we don't have an ETA on it just yet. It will be sometime after the full release of our Dynamic CMS feature.
I would really love to have the ability to create conditional statements in the body of HTML emails.
Take the following example: I would like to have a syntax to instruct Ontraport to print "Hello [First Name]" if there is a value in the First Name field of the contact, but if there is no value in the First Name field of a contact, then print "Hey, Shannah here..."
In MailChimp, I could accomplish this by typing into the body of the email:
*|IF:FIRSTNAME|*Hello [First Name]*|ELSE:|*Hey, Shannah here...*|END:IF|*
If helpful, see this resource: https://mailchimp.com/help/use-conditional-merge-tag-blocks/
Can we please add this functionality to the HTML email builder in Ontraport? It would make me so happy.
It gives more flexibility and nuance than the existing feature of setting a default value that can be printed in place of a merge field when the field is empty. For instance, in the case of First Name and using Friend as a default if First Name is empty, I have heard from an email delivery expert (that's his whole business) that "Friend", as in "Hello Friend" if First Name is empty, is a spam flag for some email providers.
Please and thank you!
This type of functionality is planned, but we don't have an ETA on it just yet. It will be sometime after the full release of our Dynamic CMS feature.
Please sign in to leave a comment.