Custom tree structure

  • iOS
  • watchOS
  • tvOS


AT Internet’s SDK lets you create a custom tree structure for your application.

Thanks to this feature, you can get a completely customised view of your traffic that responds precisely to your analysis criteria.

To do this, you must use screen categories. They represent a new way of classifying your screens, complementary to chapters, enabling a lateral view of results.


Get off to a good start

Once your tag has been initialised, you can create your custom tree structure.

In the case of a Swift project, be sure to import the SmartTracker module in your ViewController. In the case of an Objective-C project, be sure to import the headers SmartTracker-Swift.h



The Screen object makes available a CustomTreeStructure property. This property exposes an add methodenabling you to add different categories that make up your tree structure, and add them to your screen hit.


Tagging example

  1. Create a custom tree structure



CustomTreeStructure class



Name Type Default value Description
category1 Int 0 Gets or sets the tree structure’s main category
category2 Int 0 Gets or sets the tree structure’s subcategory
category3 Int 0 Gets or sets the tree structure’s sub-subcategory
Was this post helpful?
Last update: 01/12/2016