Path analysis

Also known as: user path analysis · pathing

On this page 7

Path analysis, also called user path analysis or pathing, is the analytics technique that reconstructs the ordered sequences of events users perform in a website, app or service and aggregates them to show which routes are common, where users branch and where they leave. Unlike a predefined funnel, path analysis does not assume the route in advance: it discovers the actual journeys from event data.

Within analytics for digital products, path analysis answers questions such as what people do immediately after signing up, which steps precede a purchase, or where users go when they abandon checkout. It complements funnel analysis, cohort analysis and retention analysis by explaining the behavior behind their numbers.

How path analysis reconstructs user journeys

Path analysis starts from event-level data: each record carries a user or device identifier, an event name such as a page view or button click, and a timestamp. The events of each user are sorted by time and split into sessions, commonly closed after 30 minutes of inactivity, though the right threshold depends on the product.

Each session then becomes a sequence such as Home, Search, Product, Cart, Exit. The tool counts identical sequences, merges them into a tree or graph, and reports transition counts and percentages between steps. Most implementations let the analyst fix an anchor event and look forward from it or backward toward it.

The main parameters that shape the result are listed below.

ParameterTypical settingWhat it affects
Anchor eventStart or end point of interestWhich journeys are included
DirectionForward or backwardNext steps versus preceding steps
Path depth3 to 7 stepsDetail versus readability
Session timeoutOften 30 minutesWhere one journey ends
Event granularityPages, screens or custom eventsNumber of distinct nodes
Repeat collapsingOn or offWhether reloads count as steps
Key parameters of a path analysis

Forms and visualizations of path analysis

Path analysis takes several forms that differ in direction and starting point. The choice depends on whether the analyst wants to understand what follows an action, what leads to an outcome, or how users move between two known points.

FormQuestion answeredTypical use
Forward pathingWhat do users do after event XPost-signup onboarding behavior
Backward pathingWhat did users do before event YSteps preceding a purchase or churn
Between-events pathingHow do users get from X to YAlternative routes to checkout
Exit path analysisWhere do journeys endIdentifying abandonment points
Common forms of path analysis

The usual visualization is a Sankey diagram or flow chart, in which node height and link width are proportional to user or session counts. Sunburst charts show the same branching radially, and plain ranked tables of top sequences often communicate results more precisely than any chart. Rare steps are typically grouped into an other bucket to keep the picture readable.

Path analysis is exploratory and descriptive, while its neighbors usually measure predefined structures. The most frequent confusion is with funnel analysis, which tracks conversion through a fixed list of steps.

MethodStarting assumptionMain outputBest for
Path analysisRoute unknownObserved sequences and branchesDiscovering real behavior
Funnel analysisFixed ordered stepsConversion and drop-off ratesMeasuring a known flow
Cohort analysisGroups by shared start dateBehavior of groups over timeComparing user generations
Retention analysisReturn events over intervalsShare of users who come backProduct stickiness
How path analysis differs from neighboring methods

In practice the methods work together: path analysis often reveals an unexpected route, which is then formalized as a funnel and monitored over time. The term should also not be confused with path analysis in statistics, a regression-based method for causal models, which belongs to a different discipline.

Running a useful path analysis

A useful path analysis begins with a specific question and a clean event taxonomy. Without consistent event names, the same action appears as several nodes and the diagram fragments into noise.

  1. State the question, for example what new users do after their first search.
  2. Pick the anchor and direction that match the question.
  3. Limit depth and group rare steps so the main routes remain visible.
  4. Segment the paths by device, acquisition channel or user type.
  5. Compare converting and non-converting paths to locate decisive differences.
  6. Validate findings with an experiment before changing the product.

The decision table below links typical goals to a suitable setup.

GoalRecommended setupReason
Improve onboardingForward paths from signup, depth 5Shows first actions and dead ends
Reduce checkout abandonmentExit paths from cartReveals where users leave
Understand drivers of upgradesBackward paths from upgradeHighlights preceding features
Redesign navigationBetween-events pathsExposes detours and loops
Choosing a path analysis setup

Limitations and common mistakes in path analysis

Path analysis shows correlation in sequence, not causation. A step that often precedes conversion may simply be visited by users who were already motivated, so conclusions need confirmation through controlled experiments.

  • Combinatorial explosion: with dozens of events, unique sequences multiply and most paths are rare.
  • Identity gaps: users switching devices or clearing cookies appear as separate journeys.
  • Inconsistent tracking: missing or renamed events create false exits and phantom loops.
  • Survivorship bias: backward paths from success ignore users who took the same steps and failed.
  • Sampling and consent limits can distort counts when tracking coverage is partial.

A frequent mistake is presenting a busy Sankey diagram as a finding. The value lies in the comparison, such as converting versus non-converting users, not in the diagram itself.

The simple explanation

Path analysis looks at the routes people actually take through a website or app. Imagine watching footprints in fresh snow across a park. The paved paths show where the designers expected people to walk, but the footprints show where they really go.

In the same way, path analysis collects the clicks and screens of many visitors and draws the most common routes, including shortcuts, detours and the places where people turn around and leave. The key takeaway is that it reveals real behavior, which often differs from what the product team assumed.

How it is used in practice

A subscription meal-kit service sees that only about 40 percent of new signups choose their first recipes within a day. The funnel shows where users drop off, but not why.

The product analyst runs a forward path analysis from the signup event, five steps deep, split by mobile and desktop. On mobile, a large share of users go from the welcome screen to the delivery settings page, then back, then exit. Session recordings confirm that the delivery date picker is confusing on small screens. The team simplifies the picker and tests the change against the old version for three weeks. The share of mobile users who select recipes within a day rises by several percentage points, and the improvement holds in the following month.