IOS collect logs in batch mode


We are working on IOS user behavior log collections. We find matomo IOS sdk send every action when user click or do some actions. We want to package some logs and send the data to our server. It’s better for saving users’ network flow and getting more performance.


Hi @shenlinhua,

thanks for getting in touch. Since version 4.0, the Matomo SDK doesn’t send every event one-by-one to the server. It batches them together and per default sends the requests to the server every 30 seconds and batches them together in groups of 20 events.

Does that suit your needs? Do you have needs that require a different behavior?

Best, Cornelius

Ok Thanks for this.

It’s good for us to have this information.
We will do some testing for the feature.
Thanks a lot.