A flow is a visual representation of actions an actor takes, an intuitive graph plotting the actor's journey. You can view the discovery paths of all actors simultaneously, or take a sequence of events by a particular actor to analyze with finer granularity.
There are several common reasons for using flows:
- Path discovery—Show actors in the flow performing various steps, as demonstrated in the article on how to create a flow. You can then analyze the steps in an actor's path and filter flows that reach a specified step to track trends.
- Conversion—Show what actors did on the path to conversion, or when they dropped off. A conversion involves a known target event with a strict set of steps to reach the end state, such as a purchase, creating a profile, or signing up for a service. You can analyze how long it took actors to move from one step to the next, the process for actors who reached the end state, as well as what happened with the actors who didn't reach the end state.
- Engagement—Show how actors are engaging with your product. Measure session times, as well as metrics that occurred within a session.
Modifying a flow
This section demonstrates how to modify a flow and analyze user engagement that ends with conversion, or navigating away from the site. Our example measures actors who log in to our application, have a session time greater than 1 hour, complete a query, or navigate away.
To modify a flow to measure user engagement, do the following:
- Click the Flows icon in the left navigation bar, and select the dataset from the drop-down list in the upper left corner of the window.
- Select the flow you want to modify from the list. We kept the Step 1 selections we chose to create a flow.
- Click Add Step (+), to create another filter for the flow.
- In Step 2, enter a name and select the appropriate filter parameters. We named our second step Post Comment and specified action that matches post_comment.
- Optional: Change when the flow ends and restarts. We chose end the flow if there is no user activity for 1 Day and kept the default no timeout. We also kept our original selections End flow when conditions in last step occurs, First step is optional and filtered to all events.
- Click GO. We received the following results for our example.
- Hover the cursor over a flow step to view the details.
- For a granular view of events leading up to a step, click Explore in the left menu bar, choose the flow from the drop-down menu (in the first line of the query), then click the Sankey view icon at the top of the page.
- Select the step in the flow diagram and choose See events leading up to this state from the drop-down list. The diagram changes to show a detailed view of the events leading up to the selected step.