Add your transitions
Learn how to add transitions between user states based on specific criteria, including page views and subscriptions.
For this example, let's add four transitions:
- Bi-directional transition between Registered User and Engaged - Criteria: Five or more page views in a day.
-
Drag from a white circle on the Registered User state to a white circle with an arrow inside on the Engaged state.
-
In the New Criteria dialog box, select Page Viewed from the Transition Criteria menu.
-
Select More Than, enter 5 in the Page Views field, and select Day from the In a options.
-
Select the Bi-directional button from the Flow section.
-
Click Save.
-
-
Bi-directional transition between Registered User and VIP - Criteria: Ten or more page views in a day and a Gold subscription.
-
Drag from a white circle on the Registered User state to the VIP state.
-
In the New Criteria dialog box, select Page Viewed from the Transition Criteria menu.
-
Select More Than, enter 10 in the Page Views field, and select Day from the In a options.
-
Click the + icon to add another criterion.
-
Select Has Product, choose Select Product, and check the box for Gold.
-
Select the Bi-directional button from the Flow section.
-
Click Save.
-
-
One-way transition from Engaged to VIP - Criteria: Ten or more page views in a day and a Gold subscription.
-
Drag from a white circle on the Engaged state to the VIP state.
-
In the New Criteria dialog box, select Page Viewed from the Transition Criteria menu.
-
Select More Than, enter 10 in the Page Views field, and select Day from the In a options.
-
Click the + icon to add another criterion.
Select Has Product, choose Select Product, and check the box for Gold.
Select the Bi-directional button from the Flow section.
Click Save.
-
-
Bi-directional transition between Registered User and Lapsed - Criteria: No views in the last week.
-
Drag from a white circle on the Registered User state to the Lapsed state.
In the New Criteria dialog box, select Page Viewed from the Transition Criteria menu.
Select Less Than, enter 1 in the Page Views field, and select Week from the In a options.
Select the Bi-directional button from the Flow section.
Click Save.
-
Your user state map is similar to the following:
Finally, click Save under the user state map canvas to save the transitions you have created.
We are now ready to add our states to a rule . In this example, we are going to use a sub rule to reduce the complexity of our main rule.