Hi all, I'm wondering how Mixpanel uses properties sent across from Segment through the Import API. Usually Segment passes an anonymous ID which is used as a user's distinct ID in Mixpanel. This doesn't really allow for cross-domain identity merging if one domain (A) uses Segment + Mixpanel Imports and another domain (B) only uses default Mixpanel autocapture setting. If I take the device ID generated by Mixpanel from domain (B), then put that into the Segment contexts on domain (A) and have it be mapped so that it's sent to Mixpanel under device_id, then a user logs in and identifies on domain A, will Mixpanel know to use that Device ID to merge the identities?
Yep I realised I was doing a little too much work! Ansh A. The flow is still quite fiddly though, and there are some cases where it feels like merging might not work. I send the Mixpanel distinct ID if it exists (which should come from domain B) to Segment via their Anonymous ID. I don't think that will work for users who are already logged in on domain A though, because the distinct ID on domain A would be set to the user ID instead of the device ID from domain B right? Maybe I'm just a bit unsure of how the sharing of cookies between sub-domains work.
Sure thing, will just have to do some tests first and see if the minimal solution works, will book something in if I get too stuck
Cool cool
