Use the following method when the user logs in to your mobile app:
Code Block | ||||
---|---|---|---|---|
| ||||
NSMutableDictionary *properties = [[NSMutableDictionary alloc] init]; [properties setObject:@"Login" forKey:@"EventType"]; [properties setObject:@"memberID/userID" forKey:@"OM.exVisitorID"]; [properties setObject:@"Token ID to use for push messages" forKey:@"OM.sys.TokenID"]; [properties setObject:@"App ID to use for push messages" forKey:@"OM.sys.AppID"]; [[Visilabs callAPI] customEvent:@"Login Page" withProperties:properties]; |
...