Try it on your own data
Every report in this article is in the free plan. One snippet for web and apps, up to 10 sites.
Start freeClickstream analysis is the study of the ordered trail of pages and events visitors leave on a site, used to see which paths they take, where they drop out of a funnel and which pages they leave from. The method has four moves: group events into sessions, rank paths, measure funnel steps and read exit pages, shown below on a 1,000-session sample.
What you will learn
- Group events into sessions, remove bots and merge URLs into steps before counting anything
- Read funnel steps one by one and split by where visitors came from; the origin split changed the diagnosis in the sample
- An exit is normal on a last page and a problem mid-journey; sessions are not people
What is clickstream analysis?
Clickstream analysis is the study of the ordered trail of pages, clicks and events that visitors leave on a site, in order to answer three kinds of question: which paths do people take, where do they drop out of a funnel, and which pages do they leave from? The raw material is the clickstream itself, a log of timestamped events per visitor (see clickstream data for the definition of the data). The analysis turns that log into counts you can act on.
The term has academic roots. Montgomery and colleagues showed in 2004 that the page sequence within a session carries information about what a visitor will do next, and used it to model browsing paths and predict purchase. Today's tools do the same counting without the modelling, and that counting is enough for most sites.
This article works through one sample data set, 1,000 sessions, in four moves: prepare the stream, rank paths, measure a funnel step by step, and read exit pages. If you only want to know which sequences lead to conversion, conversion paths is the companion piece.
What does a raw clickstream look like?
Sample data: nine events from three visitors on one morning. Each row is one event.
| Visitor | Time | Page or event | Referrer |
|---|---|---|---|
| A | 09:01 | /blog/pricing-guide | organic search |
| A | 09:03 | /pricing | internal |
| A | 09:05 | /signup | internal |
| A | 09:06 | signup_confirmed (event) | internal |
| B | 09:14 | /pricing | |
| B | 09:15 | /docs | internal |
| C | 10:02 | /blog/pricing-guide | organic search |
| C | 10:02 | scroll_75 (event) | internal |
| C | 10:03 | page left, no further events |
Nothing here is an insight yet. The analysis starts when events are grouped into sessions and each session is read as a sequence: A went blog, pricing, signup, confirmation; B went pricing, docs and stopped; C read one page and left.
Step 1: how do you prepare a clickstream for analysis?
Raw events need three decisions before any counting:
- Cut sessions. Group one visitor's events into visits with an idle timeout. Different tools use different rules, so write yours down: TapCub's default is 30 minutes idle and 24 hours maximum.
- Remove non-human traffic. Crawlers click in perfect sequences and inflate entry pages, so exclude them before ranking paths. Automated visits are counted separately in TapCub and do not enter visitor numbers.
- Choose the unit of the step. Pages (URLs grouped by template), events (clicks, sign-ups) or both. A path of raw URLs with IDs in them never repeats, so group
/product/123and/product/456into one step before counting.
A path that is not comparable between sessions cannot be ranked. Ten minutes on grouping saves hours of reading a list of one-off paths.
Step 2: which paths do visitors take most?
Sample data: 1,000 sessions, listed by their page sequence.
| Path | Sessions | Share |
|---|---|---|
| Blog → exit | 210 | 21.0% |
| Home → exit | 160 | 16.0% |
| Blog → Pricing → exit | 130 | 13.0% |
| Home → Docs → exit | 120 | 12.0% |
| Home → Pricing → exit | 95 | 9.5% |
| Home → Pricing → Signup → Confirmed | 85 | 8.5% |
| Blog → Pricing → Signup → exit | 70 | 7.0% |
| All other paths | 130 | 13.0% |
| Total | 1,000 | 100.0% |
The ranking shows two things at once. Only 8.5% of sessions complete the signup path, and the two most common outcomes (210 and 160 sessions) are one-page visits. A path ranking answers what happens; it does not say whether it is good. A one-page blog visit might be an answered question, which is a perfectly good result.
Step 3: where does the signup funnel lose people?
Pick the path you care about and count how many sessions reach each step, in order. Using the same 1,000 sessions, 380 reached Pricing (130 + 95 + 85 + 70), 155 went on to Signup (85 + 70) and 85 confirmed.
| Step | Sessions | Rate from previous step | Rate from Pricing |
|---|---|---|---|
| Pricing | 380 | n/a | 100% |
| Signup | 155 | 40.8% | 40.8% |
| Confirmed | 85 | 54.8% | 22.4% |
Both steps leak. 59.2% of Pricing viewers never open the signup page (225 of 380), which is the larger loss in people, and 45.2% of those who open it leave without confirming (70 of 155). Before fixing either, split the funnel by where people came from. Of the 200 sessions that reached Pricing from the blog (130 + 70), 70 went on to Signup, or 35.0%. Of the 180 that reached it from the home page (95 + 85), 85 did, or 47.2%. Blog readers reach pricing but are less ready to sign up, so the fix may be on the blog-to-pricing handoff rather than the signup form. Run the same split on device, new against returning, and channel before changing anything.
Pricing → Signup → Confirmed
1,000 sample sessionsViewed Pricing
380
Opened Signup
155
Confirmed
85
Step 4: which pages do people leave from?
An exit is the last page of a session; the exit rate of a page is exits divided by that page's views. It is not the same as bounce rate, which only counts sessions that ended after the first page. Bounce rate vs exit rate covers the difference. Sample data, from the 870 sessions in the named paths above:
| Page | Views | Exits | Exit rate |
|---|---|---|---|
| Blog | 410 | 210 | 51.2% |
| Home | 460 | 160 | 34.8% |
| Pricing | 380 | 225 | 59.2% |
| Signup | 155 | 70 | 45.2% |
| Docs | 120 | 120 | 100.0% |
A high exit rate is normal on a last page (a confirmation page, an article that answered the question) and a problem on a page in the middle of a journey. Pricing leaves 59.2% of its viewers, and Signup 45.2%; both sit before the goal, so they are where to read recordings, test copy or check for errors. Docs exits at 100% in this sample only because the sample contains one docs path; in a real report you would expect other paths from it.
| Question | What to count | Sample result |
|---|---|---|
| Which paths are common? | Sessions per page sequence | Blog → exit 21.0%; full signup path 8.5% |
| Where does the funnel leak? | Step-to-step rate | Pricing → Signup 40.8%, Signup → Confirmed 54.8% |
| Which pages end sessions? | Exits ÷ views | Pricing 59.2%, Signup 45.2% |
| Does the entry route matter? | Funnel split by origin | Blog-origin 35.0% vs home-origin 47.2% reach Signup |
Sample data: 1,000 sessions; exit rates cover the 870 sessions in the named paths.
How do you turn a clickstream finding into a decision?
A finding is only useful if it ends in a change you can check. Use these rules on the sample:
- If a step leaks for one origin only (blog readers reach Signup at 35.0%, home-page visitors at 47.2%), change what connects that origin to the step: the call to action on the blog posts that link to Pricing, or the pricing copy those readers land on. Do not redesign the signup form for everyone.
- If a step leaks for every origin (45.2% leave Signup after opening it), look at the step itself: the number of fields, an error message, a payment or consent screen. Watch five sessions that stopped there before changing it.
- If the most common path is a one-page visit, ask whether the page answered the question. If it did, add a next step; if not, rewrite it.
Write the expected change before you make it, for example "Signup → Confirmed rises from 54.8% to above 60%", and check it on the next 1,000 sessions. A rate that moves by a few points on a few dozen sessions is noise, so wait for enough volume before declaring a win.
What are the limits of clickstream analysis?
- Order is not intent. The stream says what people did, not why. Pair it with session recordings, heatmaps or a short survey before concluding.
- Tools truncate the view. A path exploration in Google Analytics 4 shows the top 5 nodes per step by default and up to 20 when expanded; the rest fall into an "Others" node, so rare paths are hidden by design.
- Retention limits history. Explorations and funnel reports in Google Analytics use event data, which is kept for 2 or 14 months on standard properties; a year-over-year path comparison needs data you export before it expires.
- Sessions and people differ. One person with three visits counts as three sessions. Clickstream counts are session counts unless you have identified the visitor, so do not read "155 sessions" as "155 people".
- Cross-device journeys break. A visitor who researches on a phone and signs up on a laptop looks like two unrelated paths unless you identify them when they log in.
How to do clickstream analysis in TapCub
Reproduce the sample in a real project:
- Check what a visit contains. In Web analytics › Sessions, open a few sessions to see the page sequence, entry and exit pages. This is the quickest way to confirm your session rules produce sensible visits.
- Rank paths and build the funnel. In All-platform analytics › Behavior › Behavior analysis, use the path view to see the common sequences and the funnel view to enter Pricing, Signup and Confirmed as steps. Step-to-step rates are shown for each step. Guide: analyze user paths.
- Split the funnel. Apply a source, device or visitor-type filter, or an existing segment, and compare the blog and home-page origins as in Step 3.
- Read exit pages. Web analytics › Pages has an exit pages tab with exits and exit rate, and visited pages show downstream pageviews, which mark pages that mostly send people onward. Guide: find exit pages.
- Keep bots out. Recognised crawlers are reported on Web analytics › Bots and do not inflate the human visitor numbers.
TapCub shows what happened and where; recordings are off by default in the project, so turn on All-platform analytics › Behavior › Session replay only if you need to watch the sessions behind a step, and check your privacy settings first.
FAQ
What is clickstream analysis in simple terms?
It is counting and comparing the page-by-page trails of visitors. You group events into sessions, rank the most common paths, measure how many sessions reach each funnel step and see which pages sessions end on. The result tells you where people go and where they stop.
What is an example of clickstream analysis?
In the sample here, 380 of 1,000 sessions reached the pricing page, 155 went on to signup and 85 confirmed. Blog visitors reached signup at 35.0% while home-page visitors did at 47.2%, so the blog-to-pricing handoff is the first thing to look at.
What is the difference between clickstream analysis and web analytics?
Web analytics is the whole set of reports, including traffic sources and goals. Clickstream analysis is the part that works on the order of events within a visit: paths, funnels and exits. Most analytics tools include it under paths, funnels or behavior reports.
How much data do you need for clickstream analysis?
Enough that each path or step has at least dozens of sessions; below that, rates swing wildly. In the sample, a funnel step of 155 sessions supports a rate of 54.8%, but a step with 10 sessions would not. Combine rare paths into "other" before ranking.
Sources
- Montgomery, Li, Srinivasan and Liechty, "Modeling Online Browsing and Path Analysis Using Clickstream Data", Marketing Science 23(4), 2004, path analysis of clickstream sequences.
- Path exploration, Analytics Help (Google), top 5 nodes per step by default, up to 20.
- Data retention, Analytics Help (Google), 2 or 14 month event-data retention for explorations and funnel reports.
Was this article helpful?
We use your answers to fix and expand this page.
Couldn’t send. Please try again in a minute.
Thanks for the feedback. We’ll use it to improve this page.You’ve already sent feedback on this page. Thanks.

Data Engineer
Writes about event design, data quality, and collection workflows, with verifiable implementation methods for reliable analytics.
