internal void InitializeTracker() { Debug.Log("Initializing Google Analytics iOS Tracker."); handler = new GAIHandler(); handler._setDispatchInterval(dispatchPeriod); handler._setDryRun(dryRun); handler._setTrackUncaughtExceptions(true); SetLogLevel(logLevel); handler._getTrackerWithTrackingId(trackingCode); handler._setSampleFrequency(sampleFrequency); SetTrackerVal(Fields.APP_NAME, appName); SetTrackerVal(Fields.APP_ID, bundleIdentifier); SetTrackerVal(Fields.APP_VERSION, appVersion); if (adIdCollection) { handler._enableIDFACollection(); } if (anonymizeIP) { handler._anonymizeIP(); } }
internal void InitializeTracker () { Debug.Log ("Initializing Google Analytics iOS Tracker."); handler = new GAIHandler(); handler._setDispatchInterval(dispatchPeriod); handler._setDryRun(dryRun); handler._setTrackUncaughtExceptions(true); SetLogLevel(logLevel); handler._getTrackerWithTrackingId(trackingCode); handler._setSampleFrequency(sampleFrequency); SetTrackerVal(Fields.APP_NAME, appName); SetTrackerVal(Fields.APP_ID, bundleIdentifier); SetTrackerVal(Fields.APP_VERSION, appVersion); if(anonymizeIP) { handler._anonymizeIP(); } }