I have an used case of doing analytic on a website which is in an isolated network. The site does not have connectivity to my piwik box. Is it possible to do some offline data collection on the site in a local database and then uploading the data to my piwik box for analysis ?
The only reasonable option that comes to mind is the ability to load in the server logs as mentioned here:
There are ways around this particular issue (if you’re willing to send an admin token to a user’s browser), but this is just the simplest example of the problems you might face.
In summary… if you found a way to use a proxy to store and later send all the http requests, you might be able to get it working. In the default configuration, this would create some issues on the Piwik server, but most (and possibly all) can be solved if you’re willing to send the Admin token to the client’s computer (and you might be willing to do so if they’re closed networks).
However, the whole HTTP proxy possibility is way outside the scope of Piwik so it would be sheer luck to find someone here who knows how to make that work.
Good news, what you want to do is actually possible and do-able the “proper” way.
I just wrote this FAQ to assist you & others with the same needs: How do I configure Piwik Tracking for high reliability? - Analytics Platform - Matomo
let me know if that works!