We use segment to track events on our web app and mobile app and we integrate with mixpanel to send those events. On segment we have two different sources (web and mobile) while we set up a single project on mixpanel where event data from both sources are sent to.
The problem is that the user ID for the user on web is different from that of the same user on mobile app and since mixpanel uses the ID to map events across platforms, we can't seem to build event insights for each users across the web and mobile app.
How can we set up segment or perhaps mixpanel to merge the User IDs such that the same user on web is recognised on our mobile app by mixpanel and the events are tied up?
Users would typically sign up to activate their account on our web app and then perform other events including adding subuser(s) - subusers only have access to the mobile app. We send a link to the user and subuser(s) via sms to download the mobile app afterwhich they login on the mobile app with their phone number and new passcode to perform other events. The user often goes back and forth between both platforms to perform events while the subuser only uses the mobile app.
Best answer by Muffaddal Qutbuddin
Most users simply ignore the sms and download directly from playstore or more commonly - send the app to their smartphones from other users or from our offline marketing agents who already have the app by using sharing tools like xender.
So you need to figure out a way to pass the user id across platforms. If url can’t work then another I can think of if server knows the detail about the user. If this is case you can basically send user id from server to mobile and do the trick that way.
maybe reach out to the dev to see how id can be passed within your application settings.