Description
openedon Sep 28, 2017
Hello!
I’m using mixpanel to track the users in my Swift app, but i must handle more than one user in the same device and i’m having some issues with the reset method.
The first thing i do when a user gets registered is an to create an alias using a uniqueId generated by my API as the alias and the uniqueID generated by mixpanel as the distinctID.
After this process, the user logs in the app and i perform an identify using only the uniqueID generated by my API (the same as in the register) and I can track all the events correctly.
The peoblem is that this user logs out, i do a reset and when a new user logs in i do an identify using the uniqueid generated by my api (that is diferent of the uniqueid generated for the first user) and then mixpanel joins both users into the same one merging the properties.
Is this a bug with the reset method or should i call some other method?
I was reading this article https://mixpanel.com/blog/2015/09/21/community-tip-maintaining-user-identity/ and it seems that i shouldn’t do anything else.
Thanks and best regards!