Setting up segmentation for Episerver
Last updated
Last updated
Segment sets and single segments are defined in the segmentation section of your Taxi account. These allow you to set up rules to control which content is sent to the groups of people within this segmentation. They are then applied to any of the modules in your Email Design System to give you complete control of the specific content that’s sent to your customers.
This segmentation is mapped by the connector to Velocity code snippets, and this is run when the email is sent. This ensures each recipient gets the content selected for them.
Once segments are defined it is possible to use them in the Taxi editor and to preview content for each segment.
Finally, to be able to export code through the connector, the velocity code for segments must be added. This code is set per connector. This means you can use different rules between environments, so you can work with different data structures and formats in your different environments.
Code for segments is entered through the segmentation settings.
In Episerver, there are target groups. These are groups of your recipients that have different rules assigned to them. For example, if they are male or female or if they are a bronze, silver or gold level customer.
In Episerver, target groups each have a specific id and you can use these ids to control how the different target groups see different content.
To find out the ids of your target groups you’ll have to contact the Episerver support team
In the above example, the segmentation rule is saying if there are people in the target group that has this id: 285128858897 then show them the content for 20-25