Conditional choices
When displaying guides on your website in the Stonly widget, you can use conditional choices. They make choices in a step available only to users who meet certain criteria.
It's a way to make guides automatically adapt to the reader.
For example, a troubleshooting guide might have an open live support option visible only to premium customers. Or internal documentation for the issue escalation process can have a branch that only managers can see.
Choice conditions
Conditions are based on user data. The criteria can be things like subscription type, location, finishing checkout etc. If a user doesn't meet all the conditions for a choice, they won't see it in the guide.
For each condition you need to choose a data type, dependent on source:
Local data, stored temporarily in the visitor's browser. Sent from your website using the widget script or directly from guides based on the visitor's choices.
Stored data, saved in Stonly as custom properties and custom events associated with individual users.
Server call variables. Received from a server response inside an automation step.
If you used data features before, you already know how to send data to Stonly. Otherwise, read this guide to learn more.