The rules feature of our live image technology is one of the true powerhouses of the platform. Depending on what API connections you are using, you can set up rules for your images to display according to certain criteria.
For example, if you are using Zembula with your loyalty platform, you can set up rules to display different image variants for different loyalty tiers, based on an individual’s unique data. Or, you can use our standard data connections such as time of day, device type or location.
You can set several criteria that must all be met for a variant to display, or you can set a few different rule groups that if the data meets any of these criteria, the variant will display.
Here’s how to do it
First, decide what criteria you want to have for your live image.
For this example, we will be setting up rules for a calendar booking image. We will be setting up rules to display the image only on desktop in two separate zip codes.
Navigate to the rules section in your live image.
The first rule is part of this particular template, which makes sure that the image only displays when there are calendar slots available.
To add additional rules for device type and postal code, click Add Rule and select them from the dropdown.
Now we have set our variant to display only when there are calendar times available, and when the user is in the 97219 zip code looking at the email on a desktop.
Next, we will set up the criteria for the other postal code. Important: you must set up a second rule group so that the image will display when either group of criteria is met. If you add the additional criteria to the same rule group, the platform will try to match all of them and your image will not display.
Now, you have two sets of criteria, and the image will display if the data meets all of the criteria for either group.
One thing to note
Each API connection has its own set of criteria you can create rules with. To discuss setting up your API, or if you have questions about creating rule groups, please email us at email@example.com