Batch Support

Prev Next

It is possible to send the recorded data in batches rather than a single request. This helps to save battery and bandwidth and ensures the chronological processing of requests.

When using batch support, we recommend using the client timestamp of the request to calculate page duration. Please contact your account manager to enable client timestamp support for your account.

Example

MappIntelligence.shared()?.batchSupportEnabled = true
            MappIntelligence.shared()?.batchSupportSize = 150
[[MappIntelligence shared] setBatchSupportSize:150];
            [[MappIntelligence shared] setBatchSupportEnabled:YES];

Parameter

Description

batchSupportEnabled

true = Requests are sent in batches to Mapp Intelligence.

false = default. Batch support is disabled.


batchSupportSize

Defines the number of requests per batch.

For most apps, a batch size between 20 and 50 requests is sufficient.

The default batch size is 5,000 requests per batch. The maximum supported value is 10,000 requests per batch.

If the cached tracking data exceeds the configured batch size, multiple batches are sent to Mapp Intelligence.