Is there a specific value measuring time on a page event? If not, is a conversion funnel the best way to measure?
Hi Alex T., 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
Mixpanel does not automatically track the time spent on a page. However, you can manually track the time it took for an action to occur using the Mixpanel.StartTimedEvent
or timeEvent
methods in the Unity and React Native SDKs respectively. This will mark the "start" of your action, which you can then finish with a track call. The time duration is then recorded in the "Duration" property. Here's an example from the Unity SDK: LBKSMixpanel.StartTimedEvent("Image Upload"); Mixpanel.Track("Image Upload");LBKS
And from the React Native SDK: LBKSmixpanel.timeEvent("Image Upload"); mixpanel.track("Image Upload");LBKS
These methods can be used to track the time a user spends on a page by starting the timer when the page loads and stopping it when the user navigates away.Alternatively, you can use Mixpanel's Funnels feature to measure the time to convert, which can give you an idea of how long users spend in a particular flow on your site or app. You can manually change the Time to Convert interval size, setting it to 30 seconds minimum and 30 minutes maximum to capture a user’s session activity.For more granular analysis, you can use the Session feature. Each Session event comes with a "Session Duration (seconds)" property, which is computed by Mixpanel and indicates the amount of time spent during the session. You can use any of Mixpanel's aggregations (sum, average, 90th percentile, etc.) to study the time spent by your users per session.Sources:
- Unity SDK
- React Native SDK
- Mixpanel Community
- Sessions
- Funnels
kapa.ai is still learning and improving, please let me know how I did by reacting below.
⤵️ Hint: Mention @kapa.ai in the thread for follow-ups.