how to know the session lenght
Hi Juan I., 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
To determine session length in Mixpanel, you can use the "Session Duration (seconds)" property that's automatically associated with Session events. Here are the ways you can analyze session length:
Finding Average Session Duration
You can find the average session duration across all users by using the "Session Duration (seconds)" property associated with Session Start/End events. This property measures session duration in seconds, which you can convert to minutes using a formula (dividing by 60) if needed. Mixpanel documentation provides a sample report for this: https://mixpanel.com/s/3rXLmT
Finding Average Session Duration Per User
Similarly, you can find the average session duration per user by using the "Aggregate Properties per User" feature with the "Sum" option. This will add up all session lengths for any given day and divide by the number of unique users. You can then apply a formula to express values in minutes by dividing by 60.Mixpanel documentation provides a sample report for this: https://mixpanel.com/s/3k1bct
Using Insights Report
In the Insights report, you can analyze session duration in various ways: - View the average session length per user - See session duration broken down across all users - Calculate the average number of sessions per user
Using Funnels for Session Length Analysis
You can also use the Time to Convert chart in Funnels to help determine an appropriate session timeout period that aligns with your users' behavior. This can give you an indicator of the average amount of time a session lasts in your app.
Session Configuration
Note that how sessions are calculated depends on your session configuration in Mixpanel. There are three ways sessions can be configured: 1. Timeout-based (default): Sessions end after a period of inactivity (default: 30 minutes) 2. Event-based: Sessions start and end with specific events 3. Property-based: Sessions are defined by a session_id propertyThe session configuration affects how session length is calculated, so make sure your session settings align with how you want to measure user engagement.
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.