| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- //
- // GoogleAnalyst.h
- // iSales-NPD
- //
- // Created by Jack on 2017/3/28.
- // Copyright © 2017年 United Software Applications, Inc. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- /**
-
- 1. Track all screens and sessions.
- Network get_json:
-
- 2. Track user login and timing
-
-
- 3. When user clicks on “Add to cart”
-
- 4. user is just opening a model information to check on the item
-
- 5. user is using search/filter conditions on the app
- Search 、Account、Advance Search、Category Filter、Item Search Filter
-
- 6. If user is browsing a particular category on home screen(new collection, dining…..)
-
- 7. track the user location of sign-in
- 8. How long the user used the App
- AppDelegate
-
- */
- @interface GoogleAnalyst : NSObject
- + (void)trackScreen:(NSString *)screenName;
- + (NSString *)currentTrackScreen;
- + (void)trackEventCategory:(NSString *)category action:(NSString *)action label:(NSString *)label value:(NSNumber *)value;
- + (void)trackTimingWithCategory:(NSString *)category interval:(NSTimeInterval)loadTime name:(NSString *)name label:(NSString *)label;
- + (void)trackSignInUserID:(NSString *)userID;
- + (void)trackSignOut;
- + (void)trackProduct:(NSString *)productName action:(NSString *)action count:(NSNumber *)count;
- @end
|