The Mapp Intelligence iOS SDK is designed to collect tracking data efficiently in the background without affecting app performance. This page provides an overview of how the SDK gathers, buffers, and transmits tracking events to Mapp Intelligence.
Process Overview
The tracking process in the iOS SDK follows a clear and optimized flow:
1. Data Collection
The SDK's tracking API continuously collects user interactions and app activities. Depending on your configuration, tracking calls can be triggered automatically or manually.
Tracking API
Events such as page views, actions, and media consumption are captured through the SDK’s interface.
Buffered Tracking
All collected data is temporarily stored on the device to ensure that no information is lost during connectivity interruptions or background usage.
2. Data Provision
Buffered tracking data is transmitted to Mapp Intelligence at regular intervals, depending on your configuration.
Scheduled Intervals
The SDK sends data at defined intervals (default: every 15 minutes). This behavior can be customized using the requestInterval parameter.
Background Transmission
If enableBackgroundSendout is enabled and approved by Apple, the SDK can send data while the app is in the background.
Network Awareness
If the device is offline, the SDK retains the data and automatically sends it once a stable internet connection is restored.
3. Data Evaluation
Once received by Mapp’s servers, the tracking data is processed and made available for analysis.
Live Analytics View
If your account has access, tracking data can be viewed in near real-time for quick validation and reporting.
Standard Reporting Delay
Standard reports in Mapp Intelligence are typically updated every 60 minutes. If you do not see data immediately, allow time for standard processing.