Visited and entry aisles

 

Foreword

Before starting implementation of the SalesTracker plugin, please make sure you have initialised the AT Internet JavaScript Tracker and selected the plugin from within the Tag Composer interface.

 

Tagging methods

The SalesTracker JavaScript makes it possible to measure aisle on your site.

The Tracker has a method “aisle.set()”.

Properties marked with a * need the SalesTracker option in order to be processed.

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

  • * level1 to level6: Aisles of product (up to 6 levels) with format ‘ID[aisle_label]’.

See Appendix for more details about aisle format.

 

Measuring visited and entry aisles

This is a navigational analysis particular to e-commerce sites that lets you categorise your pages offering products into different “aisles” (new collection, sales, etc.). The goal is to obtain a panoramic view of “aisles” that your users visit.

To make the most of this feature, you must add a few rows of JavaScript code to the pages that primarily present an aisle (window page or other).
In concrete terms, you must enter the “aisle” object by indicating the level of the aisle (up to 6 levels), following the tag example below:

var tag = new ATInternet.Tracker.Tag();
// set page
tag.page.set({
    name:'pageName'
});
// set aisle
tag.aisle.set({level1: 'ID1[level1]', level2: 'ID2[level2]', level3: 'ID3[level3]', level4: 'ID4[level4]', level5: 'ID5[level5]', level6: 'ID6[level6]'});
tag.dispatch();

The aisle ID can match the category ID (SalesTracker).

You should associate your SalesTracker tag with a Page tag, “tag.page.set(), so that it is treated. See Measuring pages for more information.

Example
The Laptops aisle belongs to both the aisles HighTech>Computers and Network>Computers>Laptops:

var tag = new ATInternet.Tracker.Tag();
tag.page.set({
    name:'pageName'
});
tag.aisle.set({level1: '10[high_tech]', level2: '20[Computers_network]', level3: '30[Computers]', level4: '40[Laptops]'});
tag.dispatch();

The measurement gives the volume of visits to aisles, whether the aisle visit happens during the site visit or at the beginning of the visit, keeping in mind that it’s possible to have up to 6 levels of aisles. The turnover that this created during the same visit is also available.

 

Appendix : tagging rules

  • Avoid “space”-type special characters and accented letters.
  • If one of the text fields contains a space, the hit is ignored.
  • Field labels should not contain special characters. If a label already exists for a given ID, the labels encoutered afterwards will not be saved.
  • ID and Label size:
    • Product aisle (‘ID[aisle_label]’)
      • ID: integer up to 10 digits.
      • aisle_label: aisle name up to 150 characters.
Last update: 03/03/2020