Hi,
Thanks for reaching out. I’m happy to help.
When you link Mixpanel to RevenueCat and call identify() with the RevenueCat appUserID, Mixpanel can create/merge a new identified profile. Geolocation fields like $city and $region live on the profile and are not preserved from an anonymous profile after identity merge and are only (re)populated when Mixpanel receives data that can set them (usually a client event or a profile update from the device). That’s why they can appear empty right after linking.
I’d recommend to trigger a lightweight profile update from the device after calling identify()
Mixpanel.mainInstance().people.set(property: "last_seen",
to: ISO8601DateFormatter().string(from: Date()))
Profile geolocation will be derived when you update profile properties.
Hope this helps, let me know if you have any other questions.
Best,
Hussain