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.
| Parameter | Typical setting | What it affects |
|---|---|---|
| Anchor event | Start or end point of interest | Which journeys are included |
| Direction | Forward or backward | Next steps versus preceding steps |
| Path depth | 3 to 7 steps | Detail versus readability |
| Session timeout | Often 30 minutes | Where one journey ends |
| Event granularity | Pages, screens or custom events | Number of distinct nodes |
| Repeat collapsing | On or off | Whether reloads count as steps |
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.
| Form | Question answered | Typical use |
|---|---|---|
| Forward pathing | What do users do after event X | Post-signup onboarding behavior |
| Backward pathing | What did users do before event Y | Steps preceding a purchase or churn |
| Between-events pathing | How do users get from X to Y | Alternative routes to checkout |
| Exit path analysis | Where do journeys end | Identifying abandonment points |
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 compared with related analytics methods
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.
| Method | Starting assumption | Main output | Best for |
|---|---|---|---|
| Path analysis | Route unknown | Observed sequences and branches | Discovering real behavior |
| Funnel analysis | Fixed ordered steps | Conversion and drop-off rates | Measuring a known flow |
| Cohort analysis | Groups by shared start date | Behavior of groups over time | Comparing user generations |
| Retention analysis | Return events over intervals | Share of users who come back | Product stickiness |
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.
- State the question, for example what new users do after their first search.
- Pick the anchor and direction that match the question.
- Limit depth and group rare steps so the main routes remain visible.
- Segment the paths by device, acquisition channel or user type.
- Compare converting and non-converting paths to locate decisive differences.
- Validate findings with an experiment before changing the product.
The decision table below links typical goals to a suitable setup.
| Goal | Recommended setup | Reason |
|---|---|---|
| Improve onboarding | Forward paths from signup, depth 5 | Shows first actions and dead ends |
| Reduce checkout abandonment | Exit paths from cart | Reveals where users leave |
| Understand drivers of upgrades | Backward paths from upgrade | Highlights preceding features |
| Redesign navigation | Between-events paths | Exposes detours and loops |
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.