Each batch has a common header, a set of device specific, and repeatable information and an array of events, which is immutable.
The header is composed at the moment of sending, so it has to be constant info ONLY. The array in the payload is data stored at the moment of collection.
The structure of the batches of events will have the following format:
All events have a common first part (don’t confuse it with the header explained above). This common section is data which is common for all events by type but is gathered at the moment the event occurred. This common section is a part of the actual event payload.
All event specific properties are appended to this JSON object.
This event is sent when the user brings the app in the foreground (switching from another app, exiting lock screen, etc.). This event means the app is focused.
This event is sent when the user exit (minimizes) the app, or switches to something else. This event means the app is not focused and the session might end, but we have not completely ended the session yet, as the user might return.
Everything starts with a View event. This is an event which describes the equivalent of a “page view” in the web. This event is sent when the Track Screen API is called.
Single Finger gesture event, when the user is interacting with a loaded screen. This is an event which describes the equivalent of a “click” in the web.
This event is defined by the following sequence of touch events:
To track transactions we provide a public API which can send a transaction object (see section Track Transactions). This object must contain the following parameters:
In the Zoning Analysis module, reliable targets are assigned to zones to ensure that a UIView remains accessible in the view hierarchy, even if it has been moved within the same page.
Having a reliable target for a view or a container of views enables the analysis of data across various Snapshots from different dates and versions, including layouts or different A/B testing variations.
One of the following properties must assigned for a view to have a reliable target.
Our SDK will check the properties in this order:
If the view has no accessibilityIdentifier and no restorationIdentifier then our SDK will use the tag that has been set, and will provide a long reliable target as well.
tag yields the same identifiers as accessibility with a different tag
In the Zoning Analysis module, Exposure Metrics provide information on the size of the display zone in the application, and data about content exposure in scrolling elements.
Exposure Metrics data for scrolling is only calculated on the first scrollable element in the screen. Other scrolling elements in the view hierarchy are not taken into account.
This event is defined by the following content:
Exclude UIScrollView type object from Exposure Metrics