Hey,
I noticed Expo’s Segment doesn’t support alias.
Segment creates an anonymous id for the session
When a user registers, we’re supposed to call alias
.
alias
takes the anonymousId
and sets it to previousId
alias
takes the newly generated user id and sets it to the userId
Since alias
isn’t supported on the client, I have to call alias
on the server, but since I don’t know the anonymous id
, I can’t get the anonymousId
to sync the users.
Our workflow is simple:
The first thing you have to do is enter a phone #, then get a confirmation code.
You are either a new user (call alias) or a previous user (just call identify)
Does anyone have any suggestions for how I can make this work? We have soo many duplicate users in mixpanel
Thanks!