Mixpanel Community Icon

How can I identify new users that become active for the first time?

·
·

How can I identify new users that become active for the first time?

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

    Hi Daniel C., 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
    ·
    ·

    You can identify new users that become active for the first time by using Mixpanel's identify method and adding a First Time Filter to any event in Mixpanel. The identify method allows you to see which users triggered each event in Mixpanel. You can replace USER_ID with a unique identifier, preferably the user ID from your database. Here's an example of how to use it:```mixpanel.identify('USER_ID')

    mixpanel.people.set({ 'email': 'jane.doe@​example.com', 'plan' : 'Premium' // Add anything else about the user here });```(Source: Mixpanel Documentation)The First Time Filter can be added to any event in Mixpanel. This filters the event down to only the first instance of the event performed by a user. Mixpanel computes this on-the-fly by scanning each user's history to determine if this was the first instance of the event performed by the user, based on timestamp. (Source: Mixpanel Documentation)Remember to call .identify(<user_id> ) when a user signs up or logs in, and call .reset() when a user logs out. This will help you manage the identity of your users effectively.(Source: Mixpanel Documentation)

    kapa.ai is still learning and improving, please let me know how I did by reacting below.

    ⤵️ Hint: Mention @kapa.ai in the thread for follow-ups.