How do i create a cohort with users that have done two different events within the same session?
Hi Mathias R., 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 create a cohort with users who have done two different events within the same session in Mixpanel, you'll need to use the Cohort Builder and leverage Mixpanel's Sessions feature. Here's how to do it: 1. First, make sure Sessions are properly configured in your Mixpanel project. Mixpanel computes sessions automatically from the events you send, and you can configure them as Timeout-Based (default), Event-Based, or Property-Based in your Project Settings Sessions: Compute sessions based on existing event data.2. Go to the Cohort Builder in Mixpanel (accessible via the Users page).3. In the Cohort Builder, you'll need to set up a filter that captures users who performed both events within the same session. You can do this by: - Adding a filter for the first event - Setting the conversion window to "in the same session" - Adding a filter for the second event with the same session constraintWhen creating your cohort, you can use the AND operator to combine these event conditions, ensuring that both events occurred within the same session for a user to be included in the cohort.Once created, you can use this cohort in various Mixpanel reports like Insights, Funnels, or Flows to analyze the behavior of these specific users. You can also export this cohort or sync it with other platforms if needed.Remember that the way sessions are computed affects how your cohort will be defined, so make sure your session configuration aligns with your analysis goals.
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.