angulartics / angulartics-mixpanel

Mixpanel plugin for Angulartics
MIT License
34 stars 27 forks source link

Any docs on setting up user identity? #8

Closed husseiny closed 8 years ago

husseiny commented 8 years ago

First off thanks for writing and sharing this! Extremely helpful and saved us a lot of time. Is there any documentation around on the best way to set up Mixpanel user identity?

marbiano commented 8 years ago

I'm looking forward to this too. +1

jasonbodily commented 8 years ago

If you read the source code, setUsername is correlated with mixpanel.identify. So in your app, calling $analytics.setUsername('etc') will take care of identify. Follow the instructions here for more on mixpanel implementation: https://mixpanel.com/help/questions/articles/how-should-i-handle-my-user-identity-with-the-mixpanel-javascript-library

Is that what you were looking for?

husseiny commented 8 years ago

Thanks @jasonbodily I am going to take a look!

timelf123 commented 8 years ago

Please reopen if you still are experiencing issues