It is possible to send the recorded data in batches instead of single requests. 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 our support or your Account Manager for further information and configuration.


Example

val webtrekkConfiguration = WebtrekkConfiguration.Builder(trackIds = listOf("track Id"), trackDomain = "track domain")
            .setBatchSupport(true,5000)   
            .build()
XML
ParameterDescription
setBatchSupport

true = Tracked data are sent in batches. The default size of a batch is set to 5000 requests per batch. The maximum number supported is 10000 per batch.

If the cached track data exceeds the maximum number of allowed requests per batch, multiple batches are sent to the tracking server.

false = default