Funnel Analysis from an Events CSV
Operator: Abdulla Al Fahad. How tools are built and checked
Of nine people who visited in the example file, two upgraded within a week, and the interesting part is where the other seven went: one never signed up, one signed up and did nothing, two created a project and stopped, and so on. This page turns a raw event log (one row per event, with a user, an event name and a timestamp) into that step-by-step picture, with the matching rule and the time window written next to the numbers so you can reproduce them elsewhere.
It counts users, not events, and it works on a file you already have. It does not connect to an analytics tool or track anything on a site. If you want to know what share of each signup month is still active months later, the Cohort Retention Analysis tool answers that question; a funnel asks how far people got through a fixed sequence, once.
Key features
- Two to ten steps picked from the events that actually occur in the file, in the order you choose
- Three matching modes: in order, strict order and any order
- A conversion window in minutes, hours or days measured from each user's step 1, or no limit
- Users, share of step 1, share of the previous step, users dropped and the median time since the previous step and since step 1, for the users who got there
- Segment comparison table with each segment's own conversion rates
- Inline SVG funnel, plus CSV and XLSX export including a per-user list of how far each person got
How an event log becomes a funnel, and what the three matching modes change
Each row is one event. You choose three columns: the user (any id, email or cookie value; blanks are skipped), the event name (matched exactly after trimming spaces, so Sign up and Sign Up are different events) and the timestamp. Timestamps can be ISO strings such as 2025-03-09T14:30:00+05:30, plain date-times such as 2025-03-09 14:30:00 or 3/9/2025 2:30 PM, or epoch seconds or milliseconds. A time with no offset is read as UTC; because only differences matter, that does not change any duration unless your file mixes offsets. Day-first slash dates are detected from the file.
An optional segment column splits the funnel by a user attribute such as plan, country or campaign. The value is taken from each user's first event of the first funnel step, so a user who changes plan later is counted under the plan they had when they entered. Up to 12 segments are shown; the rest are grouped as Other. Files up to 25 MB and 300,000 rows are read.
How it works
Events are grouped by user and sorted by time (ties keep file order). In the default in-order mode the tool looks for a step 1 event, then walks forward for the first step 2 event, then the first step 3 event after that, and so on, ignoring any other events in between. If a window is set, every step has to land within the window of that step 1 event. When a user has several step 1 events, each is tried as a starting point and the attempt that gets furthest is kept, so a user who bounced once and came back a week later still counts if the second visit converts.
Strict order is tighter: after a step is matched, the user's very next event in the log must be the next step. Any other event, even one that is not in the funnel, breaks the chain. Any order drops the sequence: a user reaches step k when all of the first k steps appear, in any order, inside one window; the time reported for that step is the shortest window that holds them.
Medians are taken over users who completed that step, so a step that only fast users reach can look quick. With no window, the tool only starts from each user's first step 1 event, because a later start can never reach further than an earlier one.
Common use cases
- Finding where a 4,200-user onboarding export loses most people between Sign up and Create project
- Comparing a 24-hour window with a 7-day one on a 12,000-order checkout log to see how many orders are slow converters
- Splitting a 30,000-row event export by utm_source to compare the funnel of paid and organic visitors
How to use this tool
- Upload the events file or load the example, then check that the user, event and timestamp columns were guessed correctly.
- Pick the steps in order, choose a matching mode and set the conversion window (or clear it for no limit).
- Optionally choose a segment column to compare groups.
- Read the funnel and the drop-off table, then download the step table, the per-user list or the workbook.
Example
Events for ten users, 36 rows, five steps; first 14 rows shown (load example for all of them)
user_id,event,timestamp,plan
u1,Visit,2025-03-03 09:00:00,free
u1,Sign up,2025-03-03 09:04:00,free
u1,Create project,2025-03-03 09:30:00,free
u1,Invite teammate,2025-03-04 10:00:00,free
u1,Upgrade,2025-03-07 12:00:00,free
u2,Visit,2025-03-03 10:00:00,free
u2,Sign up,2025-03-03 10:02:00,free
u2,Create project,2025-03-03 10:40:00,free
u2,Invite teammate,2025-03-10 08:00:00,free
u3,Visit,2025-03-04 11:00:00,team
...In order, 7-day window, all ten users
Step Users % of step 1 % of previous Median since step 1
1. Visit 9 100.0% -
2. Sign up 8 88.9% 88.9% 3.5 min
3. Create project 7 77.8% 87.5% 30 min
4. Invite teammate 5 55.6% 71.4% 60 min
5. Upgrade 2 22.2% 40.0% 3,015 min (2.1 days)
Segments: free 6 entered, 1 upgraded (17%); team 3 entered, 1 upgraded (33%)Common pitfalls
Event names must match exactly. If the same action is logged as signup and Sign up, pick one or clean the column first; the tool will warn when a chosen step has no rows.
Users are matched by the exact id text. Anonymous and logged-in ids for the same person are two users unless your export already stitched them.
A user with no time zone offset is read as UTC, so a file that mixes offset and offset-free timestamps can produce negative or inflated durations.
Medians shown for a step only include the users who reached it. The upgrade median above rests on two users.
- Run the same steps once with no window and once with your real one. In the example, the 7-day window removes one upgrade (user u10 upgraded 11 days after visiting) and a 1-day window leaves only one.
- Use the per-user CSV to read the actual journeys of people who stopped at one step. Ten of them tell you more than the percentage.
Common errors and how to fix them
- "Nobody did the first step"
- The step 1 event name does not appear in the file. Choose it from the list; names are case-sensitive.
- "No row had a user, an event and a readable timestamp"
- The timestamp column is probably wrong, or the dates are in a form the tool cannot read. Use ISO dates, 3/9/2025 2:30 PM style, or epoch seconds.
Why the three matching modes give different numbers
The same ten users give four different funnels depending on the rule. Each line lists the users at Visit, Sign up, Create project, Invite teammate and Upgrade:
- In order, no window: 9, 8, 7, 5, 3
- In order, 7-day window: 9, 8, 7, 5, 2 (user u10 upgrades after 11 days)
- Strict order, no window: 9, 8, 6, 5, 3 (u7 invites a teammate between Sign up and Create project, so the chain breaks at step 3)
- Any order, no window: 9, 8, 7, 6, 4 (u7 did all four earlier steps, just not in order, so it now counts at Invite and at Upgrade)
Small numbers: what one user is worth
The example has nine users at the top, so each user is 11.1 points of conversion. The free plan's 17% upgrade rate and the team plan's 33% are one user each out of six and three. That is why the segment table shows each segment's own Entered count: one more upgrade in the free group would move it from 17% to 33%.
As a rough guide, a conversion rate near 20% measured on 100 entrants carries an uncertainty of about 8 points either way, and on 1,000 entrants about 2.5. Judge a segment gap against the sizes of both groups before acting on it.
Frequently asked questions
What does the funnel do when a user repeats a step?
In order and strict modes the tool tries every step 1 event as a start and keeps the attempt that reaches furthest, so repeats never hurt a user. In any-order mode only the presence of each step inside the window matters.
Can I use the same event twice in a funnel?
No. Each step must be a different event name, because the tool matches events to steps by name. Use a property-based event name (for example Add to cart then Add to cart again as separate names) if you need a repeat.
Is the window measured between steps or from the start?
From the user's step 1 event to each later step. A window of 7 days means every step must happen within 7 days of step 1, not within 7 days of the previous step.