Matomo tracking not working on iPhone

Hello, we have a problem with tracking events on iPhone (any browser).

All other devices work perfectly. It tracks some of the events but not always the same ones and there is no observable pattern to the tracking.

Any help would be appreciated.