Analytics

AnalyticsFactory.getAnalytics()

AnalyticsFactory.getAnalytics initializes an Analytics object to allow a user to enable/disable analytics tracking and to see the current tracking status.

isTrackingEnabled() -> Bool

isTrackingEnabled returns a Boolean representing if analytics are actively tracking. True, if enabled. False, if disabled.

setTrackingEnabled(isTrackingEnabled: Bool)

setTrackingEnabled toggled analytics tracking on and off. Tracking is always defaulted to on at initialization of an app. The only way to turn analytics tracking off is with this method.