GoogleAnalytics
Service object providing access to analytics.Tracker and analytics.Config objects.

An instance of this can be obtained using analytics.getService.

Inheritance

Constructor

analytics.GoogleAnalytics()

Instance Methods

getConfig() !goog.async.Deferred.<!analytics.Config>
Provides read/write access to the runtime configuration information used by the Google Analytics service classes.
Returns: !goog.async.Deferred.<!analytics.Config>  A deferred that fires when the object is ready to handle method calls. Deferred is necessary to allow for object initialization from asynchronous storage.
getTracker(trackingId) !analytics.Tracker
Creates a new analytics.Tracker instance.
Arguments:
trackingId : string
Your Google Analytics tracking id. This id must be for an "app" style analytics property. See https://support.google.com/analytics/answer/2614741 for details.
Returns: !analytics.Tracker  No description.

Package GoogleAnalytics

Package Reference