Matomo Offline : Problem pushing indexedDB request records #19750
Labels
Potential Bug
Something that might be a bug, but needs validation and confirmation it can be reproduced.
Milestone
Expected Behavior
We have a self hosted matomo server (Matomo version: 4.11.0).
For one of our PWA application, we have implemented offline tracking following this guide (https://matomo.org/faq/how-to/how-do-i-set-up-matomo-offline-tracking/) . We have initialize the matomoAnalytics to store 10000s record for 30 days.
The app users don't have a good connectivity so, our plan is to asking them connect to the internet once every week to push all these offline stored analytics.
Current Behavior
When the app is offline, the indexedDB has stored all the interaction we made with the app. We can even see 10 days old records store there. We take the app online, It started syncing some of these records but after a while, it failed to submit.
For example:
Total Request: 562
Records failed to sync: 382
We did some more interaction with our app in offline mode and try to sync again but the newer request were successfully submited leaving the older record as it is without properly syncing them.
Possible Solution
Steps to Reproduce (for Bugs)
Context
As our app users are remotely located, we need to collect their interaction in offline mode. We heavily rely on these interaction for taking decision.
Your Environment
The text was updated successfully, but these errors were encountered: