Mixpanel Community Icon

Are unique users tracked by IP?

·
·

Are unique users tracked by IP?

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

    Hi Marvin M., 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
    ·
    ·

    Based on the provided knowledge sources, Mixpanel does not track unique users by IP address. Instead, Mixpanel uses a distinct_id to uniquely identify users. Here's what we know about IP addresses and user tracking in Mixpanel:1. IP addresses are primarily used for geolocation purposes, not for uniquely identifying users. Mixpanel's Ingestion API documentation mentions that the IP address can be used to compute a distinct_id using a hash function, but only if no distinct_id is provided and the 'ip' parameter is set to 1.2. The distinct_id is the primary method for uniquely identifying users in Mixpanel. As stated in the Anatomy of an Event documentation, "The value of distinct_id will be treated as a string, and used to uniquely identify a user associated with your event."3. Mixpanel does collect IP addresses for geolocation purposes, but it does not store them. According to the Default Properties documentation, "Mixpanel does not store the IP address and is discarded once geolocation data is derived."4. For server-side implementations, using IP addresses for user identification can lead to inaccurate results. The Python SDK documentation warns that "As all server-side calls will likely originate from the same IP (that is, the IP of your server), this can have the unintended effect of setting the location of all of your users to the location of your data center."In conclusion, while Mixpanel does use IP addresses for geolocation purposes, it does not use them as the primary method for tracking unique users. Instead, Mixpanel relies on the distinct_id property to identify unique users across events and profiles.

    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.