Use the following method when the user clicks a banner:
Code Block | ||||
---|---|---|---|---|
| ||||
NSMutableDictionary *properties = [[NSMutableDictionary alloc] init]; [properties setObject:@"Banner Name/Banner Code" forKey:@"OM.OSB"]; [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:@"Banner Click" withProperties:properties]; |
...