Custom tree structure



Before using page custom tree structure methods, please ensure that you have initialised the AT Internet JavaScript tracker and selected the Page plugin from within the Tag Composer interface.



Thanks to this feature, you can obtain a completely customised view of all your traffic to completely match your analysis criteria. To do this, you must use page categories. Page categories allow you to classify pages complementarily to chapters, in order to have a transverse view of all results.

The following is a prerequisite for using a custom tree structure:

  • Declare your page categories (names, levels, etc.) from within the interface (Tools > Settings > Navigation & usability > Custom tree structure)

You can create your custom tree structure in an Excel or CSV file, then import it directly into your AT Internet interface.



The Tracker has a customTreeStructure.set() method enabling you to define the custom tree structure values. This method takes an object as a parameter with the following properties:

Property Description
category1 ID of first category level
category2 ID of second category level
category3 ID of third category level

IDs passed in the tag corresponding to those declared in the interface. They are between 0 and 255.


Tagging examples

  1. Tagging a page with a custom tree structure:
  2. Tagging a custom tree structure with the “page.send()” method:

    The tagging of tags via the “page.send()” method requires passing the “customTreeStructure” object directly as a parameter:


Was this post helpful?
Last update: 30/01/2018