Module: ga

Members

(static) config :Object

Type:
  • Object
Properties:
Name Type Description
config
Properties
Name Type Attributes Default Description
ua String <optional>
null The Google Analytics UA
log String <optional>
false Log the queries
Source:

(static) event

Source:

(static) exception

Source:

(static) screen

Source:

(static) social

Source:

(static) time

Source:

Methods

(static) setTrackerUA(ua)

Set the tracker UA.
Parameters:
Name Type Description
ua String
Source:

(static) trackEvent(cat, act, lblopt, valopt)

Track an event
Parameters:
Name Type Attributes Default Description
cat String Category **or object passed to native proxy**
act String The action
lbl String <optional>
"" Label
val String <optional>
0 Value
Source:

(static) trackException(description, fatalopt)

Parameters:
Name Type Attributes Default Description
description String The description of the exception **or object passed to native proxy**
fatal Boolean <optional>
false Indicate if the error is a fatal error
Source:

(static) trackScreen(name)

Track a screen
Parameters:
Name Type Description
name String The screen name
Source:

(static) trackSocial(net, actopt, taropt)

Track a social action
Parameters:
Name Type Attributes Default Description
net String The social network name **or object passed to native proxy**
act String <optional>
"share" The action
tar String <optional>
"" Target
Source:

(static) trackTiming(cat, time, nameopt, lblopt)

Track timing
Parameters:
Name Type Attributes Default Description
cat String Category **or object passed to native proxy**
time String Time expressed in ms
name String <optional>
"" Name
lbl String <optional>
"" Label
Source: