Nested conditional content

You can use advanced scripting for email to design scripts that define multiple levels of conditional content for an email message. Multiple levels of conditional content are also referred to as nested conditional content.

You can create a script that contains a series of condition statements where one or more condition statements can contain other condition statements that display content only if the higher-level condition is also true. Use the resulting condition structure to create a single script that addresses the interests of large numbers of diverse email recipients.

You can design a script with multiple nested conditions to efficiently use customer demographics and history to create sophisticated email messages with a high degree of personalization. For example, to create a single email for use in a nationwide email campaign to stimulate in-store sales you can use nested conditions to offer a mix of products, discounts, and store addresses according to the recipient's proximity to a store, their income level, and the category of their most recent purchase.

The advanced scripting language in Deliver provides various condition statements and operators that you can use to design your evaluation criteria. Use combinations of condition statements and various operators to create nested conditional content.

Use the following tags and operators to create nested conditional content.

  • Arithmetical operators
  • Comparison operators
  • @if, @elseif, @else
  • Logical operators