analytics.Service#getConfig
.
analytics.EventBuilder#builder
.
analytics.Tracker
and
analytics.Config
objects.
An instance of this can be obtained using analytics.getService
.
analytics.Parameter
to analytics.Value
.
Individual parameters are identified by name (the query parameter name).
Two different instances of Parameter
with the same .name
are treated as identical independent of all other attributes in the
analytics.Parameter
typedef.
As of this writing multiple values per parameter are not supported, though this aspect of GA tracking behavior needs to be verified. So this aspect of the API as well as the associated types are subject to change.
sendAppView
and sendEvent
or the
general purpose send
method.
Clients can set session values using set
. These values, once set,
are included in all subsequent hits.
For analytics hittypes that are not supported by a named method clients
can call send
with param/value Object
describing the hit.
Obtain a instance using the analytics.Service#getTracker
.
analytics.createDimensionParam(index)
⇒ !analytics.Parameter
Returns a new DIMENSION param.
Arguments:
Returns: !analytics.Parameter
No description.
|
||
analytics.createMetricParam(index)
⇒ !analytics.Parameter
Returns a new METRIC param.
Arguments:
Returns: !analytics.Parameter
No description.
|
||
Returns a service instance for the named Chrome Platform App/Extension.
Generally you'll only ever want to call this with a single name that
identifies the host Chrome Platform App/Extension or extension using the
library. This name is used to scope hits to your app on Google Analytics.
Arguments:
|
||
analytics.resetForTesting()
Resets the global runtime state for the purposes of testing.
|
analytics.AppViewHit
:
Typedef for analytics.HitTypes.APPVIEW hit types.
|
|
analytics.EventHit
:
Typedef for analytics.HitTypes.EVENT hit types.
|
|
analytics.ExceptionHit
:
Typedef for analytics.HitTypes.EXCEPTION hit types.
|
|
analytics.HitType
:
A type alias for all HitType values.
|
|
analytics.ItemHit
:
Typedef for analytics.HitTypes.ITEM hit types.
|
|
analytics.LIBRARY_VERSION
:
The current version of this library. Should be increased whenever we make a
major change to the library.
|
|
analytics.Parameter
:
A Parameter instance.
|
|
analytics.Result
:
No description.
|
|
analytics.SocialHit
:
Typedef for analytics.HitTypes.SOCIAL hit types.
|
|
analytics.Timing
:
No description.
|
|
analytics.TimingHit
:
Typedef for analytics.HitTypes.TIMING hit types.
|
|
analytics.TransactionHit
:
Typedef for analytics.HitTypes.TRANSACTION hit types.
|
|
analytics.Value
:
A value associated with a parameter.
|
|
analytics.ValueType
:
A type alias for all ValueType values.
|
|
analytics.extras
:
No description.
|
|
analytics.filters
:
No description.
|
|
analytics.testing
:
No description.
|