Inheritance: IAnalyticsService
        public void Initialize(Context context)
        {
            _instance = GetInstance();
            _googleAnalytics = GoogleAnalytics.GetInstance(context.ApplicationContext);
            _googleAnalytics.SetLocalDispatchPeriod(10);

            _tracker = _googleAnalytics.NewTracker(TrackingId);
            _tracker.EnableExceptionReporting(true);
            _tracker.EnableAdvertisingIdCollection(true);
            _tracker.EnableAutoActivityTracking(true);
        }
 public static AnalyticsService GetInstance()
 {
     return(_instance ?? (_instance = new AnalyticsService()));
 }
 public static AnalyticsService GetInstance()
 {
     return _instance ?? (_instance = new AnalyticsService());
 }