pageview

If the visitor navigates to a page, you should track this page as a pageview.

Trackingcommand: "pageview"

Properties:

namedescriptiontypemandatoryexample
vurlTrack a virtual URL instead of the actual one, if the actual one is not meaningful.string
"/my/virtuell/url"

pagetitle

A meaningful name of the pagestring
"myPageName"

breadcrumb

An array of entries of the breadcrumps elements.array
[
	"home",
	"products",
	"family"
]
CODE
groupAn array of entries for grouping the page.array
["cms","storefinder"]
CODE

Example:

_jts.push({
	"track"		: "pageview",
	"breadcrumb": ["Group1","Group2","Group3"],
	"group"		: ["cms","storefinder"],
});
CODE

Single Page Appliation

Be carefull in a single page application and define for your self, what is a pageview and don't forget to reset the push data as described in Tracking reference!

Referrer

Especially with a single page application it may be necessary to set the referrer manually.

_jts.push({
	"track"		: "var",
	"type"		: "pageview",
	"key"		: "referrer",
	"value"		: "https://www.the-referrer.com"
});
CODE

var

Track additional data that are related to a specific tracking-command (f.e. pageview, user, session, ...).

Trackingcommand: "var"

Properties:

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

Example:

_jts.push({
	"track"		: "var",
	"type"		: "user",
	"key"		: "usertype",
	"value"		: "vip"
});
CODE