how to calculate the average time spent on a particular page captured in Mixpanel?
Hi event, Please stand by as I search the Mixpanel knowledge base for an AI-powered answer. I normally take about 15 seconds or so. In case AI cannot answer your question, feel free to reach out to Mixpanel support at mixpanel.com/get-support. If you have follow-up questions for this thread, please tag me again with your question: @kapa.ai <follow-up question> 👋
Feel free to ask a follow-up question once I've answered by mentioning me with @kapa.ai
You can measure “time on page” in Mixpanel using Sessions and the Session Duration property: Option A: Average session time for a specific page 1) Use the “Session Start” event in Insights, and break down by Current URL (or your page URL property) to isolate the page as a landing page. Then aggregate Session Duration (Seconds) and choose Average. Divide by 60 in a Formula if you want minutes (use the Formula feature: value/60) (Session controls in Insights, Session properties, Insights formulas, Sessions FAQ: average session duration).Option B: Average time spent on a page view event - If you track Page View as a continuous event (or adopt Mixpanel’s automated page view tracking), use the Computed Property “Duration” to measure the time between two occurrences of the same event (works best for Page View within a session). Then, in Insights, select Aggregate Property on the Duration and choose Average; divide by 60 if needed (Computed Properties: Duration, Automated page view tracking reference).Notes - Session Start inherits properties like $current_url automatically, so you can filter/break down by page to get page-level averages (Session properties). - To get “average per user,” switch measurement to “Aggregate Property per User” on Session Duration, then choose Average; use a Formula to convert seconds to minutes (Aggregate Property per User, Sessions FAQ, Measurements).
kapa.ai is still learning and improving, please let me know how I did by reacting below.
ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.
Let me check the knowledge base for you again. One moment! 📚
A common cause is that Session Start only counts sessions whose first event has that page’s URL. If 50+ users viewed the page mid-session (not as the landing page), they won’t appear when you filter Session Start by that URL—so you may see just 1 user whose session actually began there. Session Start is a virtual event that inherits properties (like current URL) from the first event in the session; filtering by URL effectively finds landing pages, not page views (Sessions overview, Session controls in Insights, Sessions use cases: landing page).Alternatives to measure users who interacted with a specific page: - Use your Page View event (e.g., $mp_web_page_view) and filter/break down by Current URL, then measure Unique Users or Total Events in Insights (JS SDK page views, Insights measurements). - In Flows or Funnels, use the page view as a step to capture users who hit that page, choosing Uniques/Totals/Sessions as needed (Flows conversion criteria, Funnels counting methods). - If you specifically want “sessions that contained this page,” in Insights select the page view event and change the aggregation to Sessions; this counts sessions with that event anywhere in the session, not only at start (Session controls in Insights → Aggregation by Sessions).Tip: If you don’t already track page views, enable automatic pageview tracking in the JS SDK or track them server-side to support page-level analysis (JS SDK page views, Server-side page views).
kapa.ai is still learning and improving, please let me know how I did by reacting below.
ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.
Let me check the knowledge base for you again. One moment! 📚
Yes—use a funnel with the page view as Step 1 and the next action as Step 2, then measure Time to Convert between those steps.How to set it up - Build a funnel: Step 1 = Page View (filtered to your specific URL), Step 2 = “Any next event” (or a specific next event if you care about a particular onward action). Use loose/specific order as appropriate. Set a reasonable conversion window (e.g., 30–60 minutes) so late returns don’t inflate times; the window limits how long we’ll wait for the next step to count (defaults to 7 days) (Conversion window). - Measurement: switch to Time to Convert and choose Average/Median/Percentile to get the time users take from Step 1 to Step 2. You can also break down the distribution with the Time to Convert breakdown (Time to Convert, Funnels measurements).Notes and caveats - This measures “time until the next step” within your window; users who don’t hit Step 2 within the window are considered timed out, not part of the conversion time stats (Conversion window behavior). - If “next event” should be anything, consider using Flows to confirm the typical next step from that page, then pin a representative Step 2 in the funnel for cleaner timing (Flows basics). - For a distribution view or to compare segments (e.g., UTM, device), use the Time to Convert breakdown, which lets you filter/bucket times without changing the per-step window (Time to Convert breakdown).
kapa.ai is still learning and improving, please let me know how I did by reacting below.
ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.
Let me check the knowledge base for you again. One moment! 📚
Mixpanel doesn’t provide a built-in “Any next event” step in Funnels. You must specify a concrete Step 2 event. To approximate “any next event,” use one of these approaches: - Use Flows first to discover the most common events immediately after your page view, then pick the top one(s) as Step 2 in your funnel to measure time to convert between Steps 1 and 2 (Flows shows frequent paths to/from events) (Flows overview, Basic features). - Create multiple parallel funnels or a custom event that groups the likely “next events,” then use that custom event as Step 2. The Funnels report supports “Specific order” vs “Any order,” but not “any event” as a step; “Any order” only relaxes sequencing among defined steps, it doesn’t make Step 2 a wildcard (Ordering). For timing, once Step 2 is defined, switch the measurement to Time to Convert and select the step range (e.g., 1→2) and your preferred aggregation (Average/Median/Percentile) (Time to Convert, Measurements).
kapa.ai is still learning and improving, please let me know how I did by reacting below.
ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.
Let me check the knowledge base for you again. One moment! 📚
Yes. In a Funnel where Step 1 is your page view (filtered to that URL) and Step 2 is the next action you care about, you can switch the measurement to Time to Convert and select Average to see the mean time it takes users to go from Step 1 to Step 2. You can also use Median or Percentiles and view a distribution via the Time to Convert breakdown. Be sure to set an appropriate conversion window so only timely next actions are counted (default is 7 days) (Counting methods and measurements, Time to Convert, Conversion window).
kapa.ai is still learning and improving, please let me know how I did by reacting below.
ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.
