Solved

Alias kinda working

  • 25 April 2019
  • 3 replies
  • 60 views

Badge

So I am calling `alias` when users sign up/login but when I enter a user's profile inside mixpanel, none of the events from before they logged in are viewable *however* if I copy and paste the `distinct id` into the live view, I can see all the events

Any thoughts?


icon

Best answer by dannyaziz 29 April 2019, 15:45

I worked out what I was doing incorrectly

I was calling `identify` and then `alias`


View original

3 replies

Userlevel 3
Badge

Hello @dannyaziz! I call 'Alias' when my user creates an account and 'Identify' when my user comes back to my app and logs in again. Maybe this helps out with the problem you are facing? I referred a lot to this article to help me with identity management https://help.mixpanel.com/hc/en-us/articles/115004497803. I also saw that they have a course on implementation that might be useful to you https://help.mixpanel.com/hc/en-us/articles/360021749032-Implementing-Mixpanel-Course-


Badge

Hi @shawn.barrett I'm doing the exact same thing, `alias` when they create an account and `identify` when they login/come back

I'll take a look at the links you sent and see if I'm doing something wrong

Thanks


Badge

I worked out what I was doing incorrectly

I was calling `identify` and then `alias`


Reply