Mixpanel Community Icon

Creating a Cohort for New Users' Actions Within 1 Hour

·
·

I want to make a cohort of users who do a certain action within 1 hour of becoming a new user. Is there a way to do it?

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

    Hi Dominic B., 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
    ·
    ·

    Yes, you can create a cohort of users who perform a specific action within 1 hour of becoming a new user in Mixpanel. This can be done using the Cohort Builder feature. Here's how you can set it up:1. Go to the Cohort Builder in Mixpanel.2. In the Cohort Builder, you can define precise conditions for your cohort. You'll need to set up two conditions: - One for the new user event (e.g., "Sign Up") - Another for the specific action you want to track3. Use the "Performed an event" option for both conditions.4. For the second condition (the specific action), you can add a time constraint relative to the first event. Set this to "within 1 hour of" the new user event.This approach allows you to create a cohort that captures users who perform the specified action within 1 hour of signing up or becoming a new user.For example, your cohort definition might look something like this: - Users who performed "Sign Up" - AND performed "Specific Action" within 1 hour of "Sign Up"By using this method, you can effectively create a cohort of users who complete a certain action within the first hour of becoming a new user.Cohorts: Group users by demographic and behaviorRemember that cohorts in Mixpanel are computed dynamically when you use them in a query, so this cohort will always reflect the most up-to-date data when you use it in your analyses.

    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 Dominic B.
    Dominic B.
    ·
    ·

    kapa.ai I don't think this works. I can't see the option to do this: 4. For the second condition (the specific action), you can add a time constraint relative to the first event. Set this to "within 1 hour of" the new user event.

  • 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
    ·
    ·

    I apologize for the confusion in my previous response. You're right to point out that the option I described isn't directly available in the way I suggested. Let me provide a more accurate answer based on the available information in the knowledge sources.You're correct that there isn't a straightforward option to create a cohort with a 1-hour time constraint between two events in the Cohort Builder. However, there are a couple of alternative approaches you can use to achieve a similar result:1. Using Funnels: You can create a funnel with the two events (new user event and the specific action) and set a 1-hour conversion window. Then, you can save the users who complete this funnel as a cohort. Funnels: Measure conversions through a series of events Advanced> mentions: "The Conversion Window determines how much time a user has to convert through all steps of the funnel after entering it. [...] To adjust this conversion window, click on the words 30 days in the conversion criteria. You will be able to adjust both the unit of time and the amount."2. Using Behavioral Properties: You can use a behavioral property to define the cohort. Advanced Behavioral Properties> states: "Behavioral properties allow you to use your user's activity and use it as a property in your other analysis. [...] Behavioral properties can be used anywhere, most typically in filters and breakdowns." You could potentially use the "Frequency per User" option to count the number of times the specific action occurred within a short time frame after the new user event.I apologize that neither of these methods exactly matches the 1-hour constraint you're looking for. The knowledge sources don't provide a clear way to create a cohort with such a precise time constraint between two events. If this functionality is crucial for your analysis, you might want to reach out to Mixpanel's support team for more specific guidance or to check if there have been any recent updates to the platform that allow for this type of cohort creation.

    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 Dominic B.
    Dominic B.
    ·
    ·

    kapa.ai is it possible to make a custom event to do this?

  • 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, it is possible to use a custom event to achieve what you're looking for. Custom events in Mixpanel can be a powerful tool for creating more complex definitions of user behavior, including time-based relationships between events.According to the Custom Events documentation, custom events allow you to:1. Merge two events into a single event 2. Create an event based on a filter on another eventIn your case, you could create a custom event that combines your "new user" event (e.g., "Sign Up") with the specific action you're interested in, filtered by a time constraint.Here's how you might set it up:1. Go to the Custom Events section in Mixpanel. 2. Create a new custom event. 3. Select your "new user" event (e.g., "Sign Up") as the first event. 4. Add your specific action as the second event. 5. Add a filter to the second event to only include occurrences within 1 hour of the first event.The Custom Events documentation provides these steps for creating a custom event:1. Expand the Event dropdown in either an Insights, Funnels or Retention report. 2. Select the plus button to the right of the search bar. 3. Select the events and properties you'd like to include. 4. Name your custom event, and click Save.Once you've created this custom event, you can use it to create a cohort of users who perform the specific action within 1 hour of becoming a new user.This approach allows you to encapsulate the time-based relationship between the two events into a single custom event, which you can then use in your analyses and cohort definitions.Remember, custom events are virtual events created from one or more events, optionally filtered by a particular set of properties. This makes them ideal for capturing complex behaviors like the one you're interested in.

    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.