Mixpanel Community Icon

Preventing Mixpanel from Overwriting User Geo Information

·
·

how do i prevent mixpanel from overwriting the geo information from the event data. i know there is set_once call but how does it work in the scenario where mixpanel is automatically setting the geo of user when the profile is created first. our scenario is as follows - all mixpanel tracking is happening server side. when user signs up, we create the profile and geo info is correctly set. however, many of our product events are automation related event that users don't explicitly do. our product is workflow automation. for these events, the ip is always the ip of our data-center, and mixpanel overwrites the user profile geo to the ip of the event. so, all our user profiles geo gets reset to the ip of our data center. if i were to use set_once, do i need to build feature to parse ip for geo and set the country/region/city explicity. currently, mixpanel takes care of this automatically.