Sub topic 4
Choosing a conversion window
This chapter assumes you know what a funnel is, with ordered steps and a conversion rate per step. It also assumes you know that Amplitude and Mixpanel build funnels from events tied to users. The chapter covers what the conversion window does, how to choose its length, and how a poor choice distorts the numbers.
What the window controls
A conversion window is the time a user has to finish the funnel after starting it. If the window is 7 days, a user who does Sign Up Started on Monday must do Sign Up Completed by the following Monday to count as converted. A user who completes it on day 8 counts as a drop-off, even though they did finish.
So the window turns the question "did this user ever convert?" into "did this user convert fast enough?" Changing the window changes the conversion rate without any change in user behavior. Two teams can look at the same data and report different rates because they picked different windows.
How the clock works
Both Amplitude and Mixpanel start a separate clock for each user when that user performs the first step. The clock covers the whole funnel, not each step on its own. A three-step funnel with a 7-day window gives the user 7 days from step 1 to reach step 3.
Three consequences follow:
- Users start their clocks at different times. A user who enters on the 1st and one who enters on the 20th are each measured against their own 7 days.
- The window is separate from the date range. The date range selects which first-step events enter the report. The window decides how long each of those users is followed. If the date range ends today, a user who started yesterday has only had one day to convert, but the report still counts them as a starter.
- Both tools default to a long window, 30 days at the time of writing. A default is not a recommendation. It may be far longer or shorter than your real buying or onboarding cycle.
Choosing a length
Pick the window from how long the behavior takes, not from what looks good. Start with the real-world process behind the funnel.
| Behavior being measured | Typical window | Reasoning |
|---|---|---|
| Add to cart, then checkout in an app | Within a session, or 1 hour | The user either buys in one visit or comes back for a different reason. |
| Sign-up form, then account created | 1 day | The form takes minutes. A long window hides abandoned forms. |
| Install, then first key action | 1 to 7 days | Activation is usually decided early. |
| Free trial start, then paid | Trial length plus a few days | Users often pay on the last day. A window shorter than the trial cuts off real conversions. |
| B2B demo request, then closed deal | 30 to 90 days or more | Sales cycles are long. Check whether your tool caps the window. |
Use data to confirm the choice. Look at the time-to-convert distribution, which is how long converters took from step 1 to the last step. Most distributions are front-loaded: many users convert in minutes or hours, then a thin tail continues for weeks. A practical rule is to choose a window that captures roughly 90 percent of the users who eventually convert. Going longer adds little and delays when the data matures.
Worked example: testing windows in SQL
The funnel report is hiding a calculation you can run yourself. The query below uses an events table with user_id, event_name, and event_time. It finds each user's first Sign Up Started, measures the lag to their first later Sign Up Completed, then shows the conversion rate under several candidate windows. It only includes users who started at least 30 days ago, so every user has had the full longest window.
WITH started AS (
SELECT user_id, MIN(event_time) AS t1
FROM events
WHERE event_name = 'Sign Up Started'
GROUP BY user_id
HAVING MIN(event_time) < now() - INTERVAL '30 days'
),
completed AS (
SELECT s.user_id, MIN(e.event_time) - s.t1 AS lag
FROM started s
JOIN events e
ON e.user_id = s.user_id
AND e.event_name = 'Sign Up Completed'
AND e.event_time >= s.t1
GROUP BY s.user_id, s.t1
)
SELECT
w.days AS window_days,
COUNT(*) FILTER (WHERE c.lag < w.days * INTERVAL '1 day') AS converted_users,
ROUND(
100.0 * COUNT(*) FILTER (WHERE c.lag < w.days * INTERVAL '1 day')
/ (SELECT COUNT(*) FROM started), 1
) AS conversion_pct
FROM (VALUES (1), (3), (7), (14), (30)) AS w(days)
CROSS JOIN completed c
GROUP BY w.days
ORDER BY w.days;Suppose it returns 31.0 percent for 1 day, 38.5 for 3, 41.2 for 7, 42.0 for 14, and 42.4 for 30. The curve flattens after day 7. A 7-day window captures about 97 percent of the 30-day conversions (41.2 of 42.4), so 7 days is a sound choice. The jump from 1 to 3 days shows that a 1-day window would undercount.
Notice that the lag is measured from the first start to the first completion after it, which is the same simplification the two tools make.
Where the window distorts reports
Windows that are too short
A short window undercounts slow converters and makes the funnel look worse than it is. It also biases comparisons toward fast-moving segments. A segment of mobile users who decide quickly will look better than desktop users who return the next day, even if both end up converting equally.
Windows that are too long
A long window counts conversions that have little to do with the first step. A user who starts sign-up, abandons, and returns 25 days later through an email campaign counts as converted. If your goal is to measure the sign-up form, that conversion is noise. Long windows also take longer to settle, because recent starters need the whole window to elapse.
Recent starters who have not had time
This is the most common mistake. Say you run a 14-day funnel and look at the last week. Everyone who started 3 days ago has had only 3 days, so many of them show as not converted simply because their window is still open. The rate for recent dates dips, and it looks like a regression. It usually isn't one. Read recent points on a trend line as incomplete, and compare only periods that are old enough for the full window to have passed.
Comparing reports with different windows
A 7-day funnel from last quarter and a 30-day funnel this quarter cannot be compared. Always record the window next to every number you quote. When you share a screenshot, make sure the window is visible in it.
Changing the window mid-analysis
If you tune the window until the rate looks good, you are choosing the answer. Decide the window before you look at the result, based on the process, and keep it fixed when you compare segments or time periods.
Units and session windows
Both tools let you set the window in units from short spans such as minutes or hours up to days, weeks, and months. Amplitude also offers a within-a-session option, which counts a conversion only if all steps happen in one session. A session window suits tight flows like checkout. It does not suit anything where users reasonably leave and come back. Mixpanel's available units and any session option change over time, so check its current documentation before relying on one.
Also verify how your tool counts a "day". A 7-day window is normally 7 times 24 hours from the first step, not seven calendar days ending at midnight. This difference matters for steps that happen the evening after the first one.
Checklist
- Describe the real process and how long it takes.
- Check time-to-convert for past converters and find where the curve flattens.
- Set the window to cover most converters, and fix it before comparing groups.
- Exclude or flag starters whose window has not closed.
- Quote the window next to every conversion rate.
Exercise
Your team runs a funnel from "Trial Started" to "Subscription Purchased" with a 7-day window. The trial lasts 14 days, and a time-to-convert check shows that many purchases happen on days 12 to 14. What problem does the 7-day window create, and what window would you choose?
Show answer
The 7-day window cuts off every user who buys late in the trial, so the funnel undercounts real conversions and understates the trial's effect. Choose a window of at least the trial length plus a small buffer, for example 16 to 21 days. Confirm with the time-to-convert distribution that the curve has flattened by then.
Exercise
You view a 14-day funnel for the past 10 days and see conversion falling sharply for the last 5 days. List two checks you would make before concluding that the product got worse.
Show answer
First, check whether the users in those last 5 days have had the full 14 days to convert, since open windows count as not converted. Second, compare against older dates only after they have matured, or rerun the report with starters from at least 14 days ago. A product change on the same dates would also be worth checking.