This example shows how you can use a user state map in a rule. We use a sub rule to determine the state of the end user and we add feature outcomes for each state. For example, the Engaged user journey offers an in-article paywall to entice Engaged readers to subscribe, a VIP user journey provides an ad-free premium experience, and a Lapsed user journey displays a Come back. We miss you custom component block message.
In this example, we do the following:
- Add three user states for authenticated users, as described in the Add Your States topic
- Add transitions for each user state, as described in the Add Your Transitions topic
- Build a sub rule that determines the end user’s current state, as described in the Build Your State Sub Rule topic
- Build the main rule that provides different outcomes for each user state, as described in the Build Your Main Rule topic