Solved

How can I see events in my dashboard?

  • 25 August 2020
  • 2 replies
  • 220 views

I have an iOS SDK project with lot of modules (in Objective-C).
I want to start tracking events to see how my clients use our SDK but I don’t manage to see anything in the insights tab. What am I doing wrong?
 



In the point of entry to the SDK I have added this (just following the docs):

       [Mixpanel sharedInstanceWithToken:@"myTOKEN"];
self.mixpanel.serverURL = @"https://api-eu.mixpanel.com";

[self.mixpanel track:@"Video play" properties:@{
@"genre": @"hip-hop",
@"duration in seconds": @42,
}];


I can see with breakpoints that the code it’s executed, however my insights are totally empty.

I tried also adding events with the codeless tracking, and while it looks like it’s working and I can connect to the app, the events aren’t appearing.

 

 

icon

Best answer by patriciaflyt 27 August 2020, 10:49

I just had an error in the code, I had to put
self.mixpanel = [Mixpanel sharedInstanceWithToken:@"myTOKEN"];

Still I don’t understand why the codeless events weren’t being tracked but everything it’s working now

View original

2 replies

Userlevel 3
Badge +3

Do you see any events in Live View? When I used to do some iOS, event took 1-2 min to show-up because of the flush behavior.

I just had an error in the code, I had to put
self.mixpanel = [Mixpanel sharedInstanceWithToken:@"myTOKEN"];

Still I don’t understand why the codeless events weren’t being tracked but everything it’s working now

Reply


Mixpanel