If you use the iOS SDK or the Android SDK, user interactions and events tracked while the user is offline are queued, and will be tracked in Matomo as soon as the user comes back online.

If you use the JavaScript Tracker in your web application, starting in Matomo 4.0.0, it is possible to enable offline tracking of actions (by default it is disabled). Learn more in How do I set up Matomo offline tracking?

Previous FAQ: App analytics for Cordova / Ionic mobile apps