Deprecated
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});