Usage
ga(send, event, category, action, label, value, misc)
Parameters
command
(Required) (String) Always "send"
Default: None
hitType
(Required) (String) Always "event"
Default: None
category
(Required) (String) Event category
Default: None
action
(Required) (String) Event action
Default: None
label
(Optional) (String) Event label
Default: None
value
(Optional) (Integer) Event value
Default: None
fieldsObject
(Optional) (Object) Additional object parameters like non-interaction (ni)
Default: None
Parameter Notes
These parameters are no different than the standard Google Analytics event function. Because this is meant to be an AJAX backup when Google’s ga() function is blocked, it should be called no differently.
Examples
ga('send', 'event', 'Error', 'JS Error', 'chosen.jquery.min.js could not be loaded.', {'nonInteraction': true});
Source File
This function was not found in /assets/js/nebula.js. Please report this error.
Override
To override or disable this JavaScript function, simply redeclare it with the exact same function name.
function ga(command, hitType, category, action, label, value, fieldsObject){ //Write your own code here, leave it blank, or return false. }