Ingestion APIs
Mixpanel’s ingestion APIs can collect user geolocation data (City, Region, Country) as properties if IP address is present. Our client-side SDKs by default pull the user’s IP address when sending data to our ingestion APIs. The IP address is then cross-referenced against a local copy of MaxMind’s (third-party IP geolocator) GeoIP database to estimate geolocation data. Mixpanel does not store the IP address and is discarded once geolocation data is derived. To disable capturing of geolocation properties (i.e. City, Region, Country) refer to the respective SDKs or API documentation. For a quick reference, refer to examples on disabling geolocation on client-side SDKs and server-side best practice on tracking geolocation. Note that there is currently no means to selectively disable one or two of the three geolocation properties.Event Properties
User Properties
Do note that Mixpanel’s default user properties are only updated when you send or update at least one property yourself (via $set or $set_once operations). Please, refer to this article to understand how to send or update profile properties.Client-side SDKs
Note that the following SDKs wrap around our other SDKs; and as such, would also inherit the appropriate default properties from these wrapped SDKs indicated in the tables below:- React Native wraps around Android and Swift SDK;
mp_libwill be set toreact-nativewith$lib_versionset as React Native’s library version. - Flutter wraps around Javascript, Android, and Swift SDK;
mp_libwill be set toflutterwith$lib_versionset as the Flutter’s library version.