Hi again !
We have a solution that creates and hosts several websites per client, and deploys datas on mobile and kiosks apps. The thing is, we already have our own siteIDs, and I was wondering if it is possible to override Piwik’s siteIDs with ours (Ok,I know the answer 'cause of PK and AI on siteID column).
It would be much simpler for us to get statistics from mobiles and kiosk apps. (The C++ Tracking API is on its way btw)
As mention over here : Allow administrators to define a custom site ID · Issue #4920 · matomo-org/piwik · GitHub it appears this is not on your roadmap for 2.xx version.
Since nearly a year passed since this post, have you thought about it yet?
I’ve considered creating a plugin, I’m sure we’re not the only ones in this case, but I would need to catch the request before Piwik Tracking API does. Plus I don’t know if it’s really in the “Piwik spirit” to do that. Any ideas?