From cc8e24461c625400143677956bdffb9268d8050b Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 21 Sep 2017 15:50:05 +0200 Subject: analytics plugin --- .../ios/UniversalAnalyticsPlugin.h | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 StoneIsland/plugins/cordova-plugin-google-analytics/ios/UniversalAnalyticsPlugin.h (limited to 'StoneIsland/plugins/cordova-plugin-google-analytics/ios/UniversalAnalyticsPlugin.h') diff --git a/StoneIsland/plugins/cordova-plugin-google-analytics/ios/UniversalAnalyticsPlugin.h b/StoneIsland/plugins/cordova-plugin-google-analytics/ios/UniversalAnalyticsPlugin.h new file mode 100644 index 00000000..dde480ac --- /dev/null +++ b/StoneIsland/plugins/cordova-plugin-google-analytics/ios/UniversalAnalyticsPlugin.h @@ -0,0 +1,34 @@ +//UniversalAnalyticsPlugin.h +//Created by Daniel Wilson 2013-09-19 + +#import +#import +#import "GAI.h" + +@interface UniversalAnalyticsPlugin : CDVPlugin { + bool _trackerStarted; + bool _debugMode; + NSMutableDictionary *_customDimensions; +} + +- (void) startTrackerWithId: (CDVInvokedUrlCommand*)command; +- (void) setAllowIDFACollection: (CDVInvokedUrlCommand*) command; +- (void) setUserId: (CDVInvokedUrlCommand*)command; +- (void) setAppVersion: (CDVInvokedUrlCommand*)command; +- (void) getVar: (CDVInvokedUrlCommand*)command; +- (void) setVar: (CDVInvokedUrlCommand*)command; +- (void) dispatch: (CDVInvokedUrlCommand*)command; +- (void) debugMode: (CDVInvokedUrlCommand*)command; +- (void) setOptOut: (CDVInvokedUrlCommand*)command; +- (void) enableUncaughtExceptionReporting: (CDVInvokedUrlCommand*)command; +- (void) addCustomDimension: (CDVInvokedUrlCommand*)command; +- (void) trackEvent: (CDVInvokedUrlCommand*)command; +- (void) trackMetric: (CDVInvokedUrlCommand*)command; +- (void) trackTiming: (CDVInvokedUrlCommand*)command; +- (void) trackView: (CDVInvokedUrlCommand*)command; +- (void) trackException: (CDVInvokedUrlCommand*)command; +- (void) addTransaction: (CDVInvokedUrlCommand*)command; +- (void) addTransactionItem: (CDVInvokedUrlCommand*)command; + +@end + -- cgit v1.2.3-70-g09d2