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.Tracker |
addFilter(filter)
Adds a
analytics.Tracker.Filter to the request
handling pipeline. The filter will be called once for each hit,
immediately after the hit is sent.
Arguments:
|
||||||
send(hitType, opt_extraParams)
⇒ !goog.async.Deferred
Sends a hit to Google Analytics. Caller is responsible for ensuring the
of the information sent with that hit. Values can be provided either
using
set or using opt_extraParams.
Whenever possible use a named method like
Arguments:
Returns: !goog.async.Deferred
No description.
|
||||||
sendAppView(description)
⇒ !goog.async.Deferred
Sends an AppView hit to Google Analytics.
Arguments:
Returns: !goog.async.Deferred
No description.
|
||||||
sendEvent(category, action, opt_label, opt_value)
⇒ !goog.async.Deferred
Sends an Event hit to Google Analytics.
|
||||||
sendException(opt_description, opt_fatal)
⇒ !goog.async.Deferred
Sends an Exception hit to Google Analytics.
Arguments:
Returns: !goog.async.Deferred
No description.
|
||||||
sendSocial(network, action, target)
⇒ !goog.async.Deferred
Sends a Social hit to Google Analytics.
Arguments:
Returns: !goog.async.Deferred
No description.
|
||||||
sendTiming(category, variable, value, opt_label, opt_sampleRate)
⇒ !goog.async.Deferred
Sends a Timing hit to Google Analytics.
Arguments:
Returns: !goog.async.Deferred
No description.
|
||||||
set(param, value)
Sets an individual value on the
Tracker, replacing any previously
set values with the same param. The value is persistent for the life
of the Tracker instance, or until replaced with another call
to set.
Arguments:
|
||||||
|
Creates a new timing object that tracks elapsed time for you.
|