Identified visitors

 

Foreword

Before starting to implement the identified visitors plugin, please make sure you have initialised the AT Internet JavaScript Tracker and selected the plugin from the Tag Composer interface.

 

Principle

Identified visitors are those you can recognise following an authentication (sign-up, subscription, login…). These visitors can be grouped into categories in order to give you a more overall view with your analyses.

 

Plugin setup

The identified visitors plugin must be set up within the Tag Composer interface. Two parameters must be indicated:

  • Site domain: linking measurements to a domain or a site number (true: current site, false: site number; true by default).
  • Lifetime: Length of time that identified visitor data is conserved (in days, 182 by default).
 

Tagging

The Tracker has the methods “identifiedVisitor.set()” and “identifiedVisitor.unset()” to create or remove an identified visitor.

The “identifiedVisitor.set()” method takes as a parameter an object whose properties are as follows:

  • id: visitor ID (numerical or textual).
  • category: category to which the visitor belongs

In order to use textual ID, an option is required. Please contact our support centre if you intend to use it.

Sending information on an identified visitor requires the presence of a “tag.page.set()” page tag.

 

Tagging examples

  1. Tagging a page with a numerical visitor ID
  2. Tagging a page with a numerical visitor ID and a category
  3. Tagging a page with a textual visitor ID
  4. Tagging a page with a textual visitor ID and a category
  5. To disable visitor identification (e.g when a user logs out)
Was this post helpful?
Yes
No
Last update: 30/01/2018