event

An event is used to track actions related to a visitor interaction, such as a click.

Trackingcommand: "event"

Properties:

namedescriptiontypemandatoryexample
groupGroup similar events into a group for better analysisstring(tick)"button-clicks"
nameTrack a meaningfull name for the eventstring(tick)"submit -button"
valueTrack the value of the eventstring
"click"
numvalueIf your Value is numeric use this field.int
145
noninteractionIf your event does not depend on visitor interaction, track true here so as not to influence the Bounceratebool
false

example:

_jts.push({
	"track"		:	"event",
	"group"		:	"E-Commerce",
	"name"		:	"Product-Impression",
	"value"		:	"0023775322",
	"numvalue"	:	299,
	"noninteraction"	:	true
});
CODE

var (event)

To track additional data related to an event, use var with the type event. 

Trackingcommand: "var"

Properties:

namedescriptiontypemandatoryexample
typeThe tracking-command you want to extend with custom-variablesstring(tick)"event"
keyA meaningful name for the variable.string(tick)"position"
valueThe value of the variable.string|int|bool(tick)"3"

example:

_jts.push({
    "track"     : "var",
    "type"      : "event",
    "key"       : "position",
    "value"     : "3"
});
CODE

download

A click on a download link should be tracked as download.

Trackingcommand: "download"

Properties:

namedescriptiontypemandatoryexample
linkThe full URL of the clicked download-link!string(tick)"https://www.download-link.com"

example:

_jts.push({
	"track"		:	"download",
	"link"		:	"https://www.download-link.com"
});
CODE

outlink

To track an outgoing link, use outlink. An outgoing link is a link where you leave your own domain.

Trackingcommand: "outlink"

Properties:

namedescriptiontypemandatoryexample
positionTrack as position the informatoin where the link was clickedstring
"bottom-left"
textThe text of the outgoing linkstring
"Mutter Konzern"
urlThe url of the outgoing linkstring(tick)"https://www.outgoing-link.com"

example:

_jts.push({
	"track"		:	"outlink",
	"position"	:	"bottom-left",
	"text"		:	"Mutter Konzern",
	"url"		:	"https://www.outgoing-link.com",
});
CODE

maillink

If the visitor uses a link to send an email, use the tracking function "maillink" 

Trackingcommand: "maillink"

Properties:

namedescriptiontypemandatoryexample
linkThe full URL of the clicked mail-link including mailto:...string(tick)"mailto:max.mustermann@example.org"

example:

_jts.push({
	"track"		:	"maillink",
	"link"		:	"mailto:max.mustermann@example.org"
});
CODE