i have sent three gift pass links from my company's app under "referral share link event but while analysing the event it shows only one session instead of 3 sessions why?
Hi Sakir, 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
The reason you are seeing only one session instead of three when analyzing your "referral share link" event is likely due to how Mixpanel computes sessions. By default, Mixpanel uses a timeout-based session model, where a session starts when a user performs any event and ends after a period of inactivity (default: 30 minutes). If all three "referral share link" events were performed by the same user within the session timeout window, they would all be counted as part of a single session, not separate sessions.Here’s how it works: - If a user performs multiple events (like sending three gift pass links) within the session timeout period, all those events are grouped into the same session. - A new session will only be created if there is a period of inactivity longer than the session timeout, or if you are using event-based or property-based session definitions and the criteria for a new session are met (e.g., a new session_id value or a specific "Session Start" event) Sessions: Compute sessions based on existing event data.If you want each "referral share link" event to be counted as a separate session, you would need to: - Adjust your session settings to use event-based or property-based sessions, and define the "referral share link" as a session start event, or - Ensure that each event is separated by a period of inactivity longer than your session timeout setting.Otherwise, multiple events by the same user within the session window will be grouped into a single session by Mixpanel.
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.