Use of u.trackevent method

expected parameters array :

u.trackEvent(['_trackEvent', Category, Action, Label, Value, nonInteractive (boolean) ]);

Breakdown:

Parameter Represents Mandatory Default
'_trackEvent' the trackEvent it self true no default, Must insert
Category Desired category true ' '
Action Desired action true ' '
Label Desired label false ' '
Value Event's Value false null
nonInteractive* If event is InterActive false false

*nonInteractive (To be clear) :

nonInteractive when false (by default) means that the event will return true for interactive.
if we want to have an event that is not interactive, we should send nonInteractive parameter as true.

google reference: https://developers.google.com/analytics/devguides/collection/gajs/methods/gaJSApiEventTracking#_trackevent


results matching ""

    No results matching ""