Skip to content
Arnaud PICHERY edited this page Oct 18, 2018 · 1 revision

Web tracking

WT1 collects data on websites using a JavaScript snippet that must be inserted on the tracked website.

The snippet can be used to track page views and custom in-page events. For example, it is possible to track when the user

  • scrolls down the page
  • clicks a button
  • views a video
  • ...

Tracking of pageviews and events is done via explicit calls to the WT1 JS API.

Visitors

Each visitor to the site is identified through a unique identifier. The unique identifier is automatically generated for new visitors on the first tracked event. The visitor identifier is then stored together with all events for this visitor.

A visitor is the client visiting the site, ie the Web browser or mobile device.

Sessions

Over time, the visitor interacts with your site accross several sessions. A session is automatically created when the visitor interacts with the site. The session automatically expires after 30 minutes without any interaction from the visitor.

Custom variables

The JS API allows you to set variables associated to:

  • A visitor
  • A session

Visitor-variables and session-variables are stored together with the tracked events.

For example, when a visitor is logged in your site, you can store as visitor-variable your own internal user identifier. This allows you to relate the tracked event to the user in your system.