Inherits NSObject.
Static Public Member Functions | |
(EMAnalyticsProvider *) | + sharedProvider |
(void) | + setProvider: |
+ (void) setProvider: | (EMAnalyticsProvider *) | provider |
To enable analytics in an application, this method should be called in ecommerceAppDelegate.m, with a EMAnalyticsProvider class that makes calls to an analytics api
This class provides global access to a EMAnalyticsProvider singleton. This allows the core components and refapp components to call tracking methods on the provider without needing to call api methods of any particular analytics api (i.e. Flurry, Pinch Media, Medialytics, Google Analytics, Omniture, Coremetrics...).
If no analytics provider is set using the setProvider: method, this returns an instance of EMDefaultAnalyticsProvider