This article explains how you can use a flow to explore the details of user sessions, such as the number of comments each user makes, how often they make a purchase or perform other conversions, or how long they stay engaged on your site.
Using flows to analyze user sessions
This section demonstrates how to explore user sessions for actor events, such as the number of comments made, the number of errors per session, as well as periods of inactivity. To accomplish this, you do the following:
- Create a flow that uses an inactivity timeout and the actor (shard key) with the data you want to analyze.
- Create or use an existing flow property to segment your flow.
- Open the flow in Explore to analyze it.
To analyze user sessions with a flow, do the following:
- In the Interana UI, click Explore, then select a dataset in the top left corner of the screen. We chose the SaaS dataset for our example.
- Click Apps, then Flows, then enter a name for the flow at the top of the page.
- Click New Flow in the top right corner, select an Actor from the drop-down list. We entered user_id for our example. Optionally, enter a name for Step 1.
- Click inside no timeout for Flow ends after inactivity of and enter 30 minutes. You can optionally click the minus — to delete Steps you won't need.
- Click GO and review the results. We decided we want to refine our results by creating a property filter.
- To create a flow property, click Properties in the upper right corner. Then click New Flow Property, enter a property name, specify property details, and click Save in the upper right corner. Our flow property filters for errors per session.
- To apply the flow property, click Explore and in the left panel choose to Show the new flow you created, filtered to the new flow property, specifying an appropriate value. We filtered for accounts with greater than 2 errors per session.
- Click GO, and then click the Sankey View icon. We got the following results for our example.