Event and Interaction Tracking
Event
An event is a broad definition of all possible interactions (active and passive) that occur on a website, ranging from clicks to simple timers. With JENTIS you can track all kinds of custom and predefined events following a simple syntax.
Tracking command:
event
Example JENTIS Data Layer usage:
JavaScript
//do not execute - example only
_jts.push({
track: "event",
...
});
Mandatory Properties
Name | Description | Type | Example |
---|---|---|---|
group | A broad group or category to summarize similar events. | string | navigation-clicks |
name | A name of this exact event, ie. list_view, button_click, etc. | string | submit-button |
Optional Properties
Name | Description | Type | Example |
---|---|---|---|
value | A description or any other label to further describe that event. | string | click |
numvalue | Here you can submit a numeric value with that event, that matches the context (ie. if that event is a conversion and has a countable value). | number | 145 |
noninteraction | Here you can mark this event to be non-interactive, so it can be treated differently in some tools (ie. marking it accordingly in Google Universal Analytics to not affect bounce rate calculation). | bool | false |
interactive | Please use this property instead of the deprecated noninteraction. It will mark an event interactive (true) or non-interactive (false), when left empty or not set the default is interactive (true). | bool | true |
Example
JavaScript
_jts.push({
"track" : "event",
"group" : "E-Commerce",
"name" : "Product-Impression",
"value" : "0023775322",
"numvalue" : 299,
"noninteraction": true
});
Submitting Events
Remember: whenever an event is pushed to _jts
API it will activate the according state. So all data is packed and transported immediately when track:event
is pushed.