Mixpanel Community Icon

How can I create a session time distribution graph?

·
·

How can I create a session time distribution graph?

  • Avatar of kapa.ai
    kapa.ai
    APP
    ·
    ·

    Hi Ritvik H., 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

  • Avatar of kapa.ai
    kapa.ai
    APP
    ·
    ·

    To create a session time distribution graph in Mixpanel, you can use the Insights report and leverage the "Session Duration (seconds)" property that comes with each Session event. Here's how you can do it: 1. Go to the Insights report in Mixpanel. 2. Select the "Session Start" event as your metric. 3. Use the "Breakdown" feature to break down the results by the "Session Duration (seconds)" property.This approach will give you a distribution of session durations across all users. You can find more details about this in the Sessions documentation.Here's an example of how this might look: "Now we see a bi-modal distribution — 70% of users spend less than a minute on the site, while only 20% spend more than 5 minutes. From here, you can click into the "> 5 minutes" segment, select "View Users", and see a few qualitative examples of users who spent a lot of time on your site (where did they come from and what pages did they view?)."You can further customize this graph by adjusting the time range, applying filters, or changing the visualization type to best suit your needs.Remember that the "Session Duration (seconds)" property is automatically computed by Mixpanel based on your session settings, so make sure your session configuration is set up correctly for accurate results.

    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.

  • Avatar of Ritvik H.
    Ritvik H.
    ·
    ·

    kapa.ai is the lowest measurement seconds?

  • Avatar of kapa.ai
    kapa.ai
    APP
    ·
    ·

    Let me check the knowledge base for you again. One moment! đź“š

  • Avatar of kapa.ai
    kapa.ai
    APP
    ·
    ·

    Yes, the lowest measurement for session duration in Mixpanel is seconds. This is confirmed by the Sessions documentation, which states: "Session Duration (Seconds): The duration between the "Session Start" and the "Session End" events in seconds."Additionally, in the Reserved Event Properties documentation, it's mentioned that: "$duration_s: Session Duration (Seconds) - The duration between Session Start and Session End events in seconds."So, when you're working with session duration data in Mixpanel, the base unit of measurement is indeed seconds. If you need to express the duration in minutes or hours for your analysis, you can use Mixpanel's formula feature to convert the seconds to the desired time unit.

    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.

  • Avatar of Ritvik H.
    Ritvik H.
    ·
    ·

    In the breakdown can I breakdown the session duration in 0.1 second durations? kapa.ai

  • Avatar of kapa.ai
    kapa.ai
    APP
    ·
    ·

    Let me check the knowledge base for you again. One moment! đź“š

  • Avatar of kapa.ai
    kapa.ai
    APP
    ·
    ·

    While Mixpanel does allow for custom bucketing in breakdowns, the level of granularity you're asking about (0.1 second durations) is not directly supported for session durations. Here's what you need to know: 1. The lowest measurement for session duration in Mixpanel is seconds, as confirmed in the Sessions documentation.2. Mixpanel does offer a feature called Custom Buckets for more granular breakdowns. However, the smallest interval you can use for numeric values that are decimals is 0.0001, as mentioned in the Custom Buckets FAQ: "If the numeric values are decimals: ** Choose Varied bucket values 0, 0.0001, 1, … ** This would generate buckets: <0, ≥0 & <0.0001, ≥0.0001 & <1, ≥1. * ≥0 & <0.0001 would approximate to bucket 0"3. Even if you could create such small buckets, it's important to note that session durations are typically measured in whole seconds, not fractions of a second.Given these limitations, the most granular breakdown you can realistically achieve for session durations would be in 1-second intervals. If you need more detailed time measurements, you might need to consider tracking those separately as custom events or properties, rather than relying on the built-in session duration metric.

    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.