Skip to content

Instantly share code, notes, and snippets.

@grantmiller
Created June 29, 2013 01:55
Show Gist options
  • Save grantmiller/5889351 to your computer and use it in GitHub Desktop.
Save grantmiller/5889351 to your computer and use it in GitHub Desktop.
// Use the following to report an event.
- (void)reportEvent:(NSString *)anEvent;
- (void)reportEvent:(NSString *)anEvent withData:(id<NSObject>)someData;
// Use the following constants for reporting common events.
NSString *kLPEventConversion;
NSString *kLPEventPageView;
NSString *kLPEventSignUp;
NSString *kLPEventSignIn;
NSString *kLPEventAddedToCart;
// ******************
// Examples
// ******************
// To set the current *page* or *view* the user is viewing:
[[LIOLookIOManager sharedLookIOManager] reportEvent:kLPEventPageView withData:@"product_detail_abc"];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment