Dynamic screens

  • iOS
  • watchOS
  • tvOS


Dynamic screens (or dynamic labels) allow you to save the history of a page whose content has been modified.

This tag, especially designed for media sites, enables continuity when tracking an app screen even if the editorial content (articles, in large part) changes.

The screen can be renamed to better adapt to the editorial content without disrupting the continuity of analyses.

The tagging principle is the same as that of a screen.


Get off to a good start

Once your tag is initialised, you can start tagging your dynamic screens.

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



To tag a screen, the tracker exposes a dynamicScreens property.

This property exposes an add method allowing for the inclusion of screen information.

This method sends back a DynamicScreen-type object. To send the defined information, you must manually call your object’s sendView method or call the dispatch method of the Tracker.


Tagging example

  1. Tagging a screen with a dynamic name:
    override func viewWillAppear(animated: Bool) {
        tracker.dynamicScreens.add(1, update: NSDate(), name: "News").sendView()
    - (void)viewWillAppear:(BOOL)animated {
        [[tracker.dynamicScreens add:1 update:[NSDate date] name:@"News"] sendView];

DynamicScreen class



NameTypeDefault valueDescription
screenIdInt0Gets or sets the screen ID (ex: “article-123456”)
updateNSDateNSDate()Gets or sets the date of screen creation or update
nameStringChaîne videGets or sets the screen name
chapter1String?nilGets or sets the first chapter
chapter2String?nilGets or sets the second chapter
chapter3String?nilGets or sets the third chapter
actionEnumAction.ViewGets or sets the action type
level2Int?nilGets or sets the level 2 ID
isBasketScreenBoolfalseIndicates if the screen is displaying the content of a cart (if the SalesTracker option is used)


NameReturn typeDescription
sendViewvoidSends the screen hit
Last update: 29/11/2019