Page

A web page is a specific collection of information provided by a website and displayed to a user in a web browser.

Every page load triggers the page-impression. Some of the tracking info can be implemented on default ('url', 'userAgent', 'platform', 'domain', 'referrer', 'title', 'path', 'params').

Impression: page load

context variables

description

required

url

url of the page without url parameters

auto

name

name of the page

yes

useragent

1 string with browser, resolution, device, etc. (used for exports)

auto

domain

domain of the website the page is on

auto

referrer

referrer of the page

auto

title

title of the page

auto

path

path of the page

auto

params

query string of the URL which will fill the parameters

auto

timestamp

moment of loading the page in seconds (time of the server) | dd-mm-yyyy hh:mm:ss

yes

the time in milliseconds that it took the page to load

no

type

type of page, related to structure or build of the page. Ex: PDP

no

category

page category, related to the content of the page. Ex: fruits, clothes

no

environment

public|private

no

department

B2B|B2C|...

no

language

language of the page

no

variant

variant of A/B testing

no

eventData: {
 "event": "page-impression",
 "pageInfo": {
  "url": "https://www.stitchd.be/contact",
  "name": "www:stitchd:contact",
  "category": "",
  "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36",
  "platform": "MacIntel",
  "domain": "www.stitchd.be",
  "referrer": "",
  "title": "Contact | Stitchd",
  "path": "/contact/",
  "timestamp": "2020-06-18 10:26:47",
  "params": {},
  "consent": "3"
 }
}

With a single page application a trigger has to be build in, instead of using page load, to know if a new page impression can be loaded.

Last updated