JGoogleEmbedAnalytics::addEvent
Track an analytics event
Signature
public function addEvent(string
$category,
[string
$action = null,
[string
$label = null,
[string
$value = null,
[boolean
$noninteract = false]]]] )
Parameters
-
$category
- The general event category
-
$action
- The event action
-
$label
- The event description
-
$value
- The value of the event
-
$noninteract
- Don't allow this event to impact bounce statistics
Returns
- array
- The added call