Question

Basically I have used the following code to log an event in the mix panel.

         [mixpanel track:@"App Launched"];
         [mixpanel identify:[user objectForKey:@"email"]];
         mixpanel.nameTag =[user objectForKey:@"email"];

But the problem is that Mixpanel stream is showing Guest#2324 instead of the emailID. I have confirmed that I am getting [user objectForKey:@"email"] value. Can anybody figure it out as where I am doing wrong. I have initialized the mix panel using

mixpanel = [Mixpanel sharedInstance];
Was it helpful?

Solution

May be remove the identify line from the above code.As identify is used to identify the device.Refer Mixpanel for more details.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top