Segmentation in Taxi
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 handlebar 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 handlebar 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 if needed.
Code for segments is entered through the segmentation settings.
In SendGrid there are multiple ways that you can use conditional logic. Here is a list of what is supported via the connector.
Segmentation With Handlebars
The following describes what segmentation notations can be used within Taxi when segmenting with Sendgrid.
Utilised in Taxi
When setting up the segment set or single segment with the Sendgrid connectors you can choose from the supported operators from a dropdown.