MixPanel resolved the user IP to country/state/city, can I control which property to present? I only want country.
Unfortunately, Mixpanel does not currently support selectively disabling individual geolocation properties. The three properties — City, Region, and Country — are always derived and set together. As the documentation states:
"There is currently no means to selectively disable one or two of the three geolocation properties."
[Default Properties] Your options are:
Track all three or none — You can disable geolocation entirely (e.g., {"ip": false} in the JS SDK), but this removes all three properties.
Manually set only the country — You can disable automatic geolocation and then manually set only the country property yourself in your event/profile payloads:{ "event": "Signed Up", "properties": { "distinct_id": "13793", "token": "project_token", "mp_country_code": "US", "ip": "0" } }By setting ip to 0 (to suppress automatic geolocation) and only including mp_country_code (omitting $city and $region), you can effectively track only the country. [Manual Geolocation]
Hide unused properties in the UI — While City and Region would still be stored, you can choose not to use them in your reports and analyses.
The manual approach (option 2) is likely your best path if you only want country-level data.
ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.
