When you have created your user segments, you can add an Add to Segment decision node in a rule to add end users to the segment at the appropriate time. You can then add a Segment decision node to make a decision based on the defined user segments.
For further information on the Add to Segment and Segment decision nodes, see the User topic.
For example, you could create a segment that adds end users who visit your Sports content to an Article feature rule.
In the following example rule, anonymous users who visit your Sports content on the /sports/ path in your site are added to the Sports user segment:
You can add an Add to Segment decision node anywhere in your rule, except as an outcome. You can use decisions based on the segment in which the end user is placed to personalise their user journey.
As you can connect the Add to Segment decision node to any other decision point, you can create and add users to different segments as required.
For example, you could check whether an end user is accessing a feature from a mobile device during commuter hours and add them to a Commuter segment.
In the rule illustrated below, the end user is checked against the Morning Commuters segment when they encounter an Ad Feature. If they belong to the Morning Commuters segment, they see a custom offer. If they do not belong to the Morning Commuters segment, they see a generic advertisement.