Custom tree structure



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.

To use SDK class and methods, add ATInternet namespace to your Page.



The tracker makes available a CustomTreeStructures object that exposes an Add method. This method adds a custom tree structure to your screen and returns a CustomTreeStructure object that exposes three properties that are different categories of your custom tree.


Tagging example

  1. Create a custom tree structure
    using System;
    using System.Collections.Generic;
    using Windows.Data.Json;
    using Windows.UI.Xaml;
    using Windows.UI.Xaml.Controls;
    using ATInternet;
    using Windows.UI.Xaml.Navigation;
    namespace App1
        public sealed partial class MainPage : Page
            Tracker tracker;
            public MainPage()
                tracker = SmartTag.Instance.defaultTracker;
                // First Method
                // Second Method
                CustomTreeStructure cts = tracker.CustomTreeStructures.Add(5);
                cts.Category2 = 8;
                cts.Category3 = 4;
                tracker.Screens.Add("custom tree").SendView(); // &ptype=5-8-4

CustomTreeStructure class



NameTypeDefault valueDescription
Category1Int0Gets or sets the tree structure’s main category
Category2Int0Gets or sets the tree structure’s subcategory
Category3Int0Gets or sets the tree structure’s sub-subcategory
Last update: 31/03/2016