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 or use an existing session flow. See Define a user session using a flow for an example.
- 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:
- Create or use an existing flow that uses an inactivity timeout and the actor (shard key) with the data you want to analyze. See Define a user session using a flow for an example.
- To create a flow property, from the flow, click Properties in the top right corner.
- Click New Flow Property. Enter a property name, specify property details, and click Save in the top right corner. Our flow property filters for user clicks on the ia logo.
- To apply the flow property, click Explore.
- In the left pane, choose to count the number of instances of the flow you created. Click Events and search for the flow name in the dropdown.
- Under Filtered to, select the new flow property and specify an interesting value. We filtered to flow instances with greater than 0 logo clicks.
- Click GO. The default visualization is time chart.