Hello, I'm trying to setup the mixpanel, up to now, the only thing I could set up successfully was the tracking events, that are all working.
Now I want to add some information regarding the user legged in, but i am not being successful.
#Works well
MixPanel.track("Sign In", {:distinct_id => user.id}, @request_env)
#Do not set the name of the user in mixpanel
MixPanel.instance(@request_env).append "name_tag", user.username
#Do not set the name of the user in mixpanel
MixPanel.instance(@request_env).set user.id, {:name => user.username, :email => user.email}
I do not know if this is the correct approach, but can you give me a guide on how to do it?
Hello, I'm trying to setup the mixpanel, up to now, the only thing I could set up successfully was the tracking events, that are all working.
Now I want to add some information regarding the user legged in, but i am not being successful.
I do not know if this is the correct approach, but can you give me a guide on how to do it?
Regards,