Log In

MOCA SDK tracks automatically fragments/views of your App: this is great for tracking the screens viewed, where users dropped and how long they remained on each screen. In order to make the marketer's life easy we also offer a way to manually add a pretty name to each screen. You'll find an example below:

/**
 * Sets the name of the current view controller. This information is used for "Screen Analytics"
 * within MOCA.
 *
 * @param screenName the name of the current screen
 * @param screenClass the class of the screen being tracked
 */
+ (void)currentScreenName:(NSString *)screenName    
           forScreenClass:(UIViewController *)screenClass;

//Call it using
[MOCA currentScreenName:@”My Magic Screen” forScreenClass:self];