Members
(static) config :Object
Type:
- Object
Properties:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
config |
Properties
|
(static) event
(static) exception
(static) screen
(static) social
(static) time
Methods
(static) setTrackerUA(ua)
Set the tracker UA.
Parameters:
Name | Type | Description |
---|---|---|
ua |
String |
(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 |
(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 |
(static) trackScreen(name)
Track a screen
Parameters:
Name | Type | Description |
---|---|---|
name |
String | The screen name |
(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 |
(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 |