Admitted, after reading a little deeper on issues Allow Customization of Map Widget,
Wordpress: importing piwik data,
and Expose or return geolocation result
I have given the common denominator of these issues some more thought.
I am aware that the following suggestion is a big effort, but I’d like to offer my view, hoping it may be perceived as constructive. I’ll try to be brief.
PIWIK is great at collecting all kinds of data and turning that into reports.
As I gather, the “data in -> reports out” flow is somewhat unidirectional, based on the assumption that the tracked visitors have no interest in the statistics.
This is generally true as far as most metrics are concerned, but there are quite a lot of cases in which one would like to expose certain statistics to the end users.
Let me state some:
- Number of page or content views on user-contributed content sites
- public online users map
- public media analytics stats on user-contributed content sites (media statistics are soundclouds primary incentive for paid accounts… people seem to love stats)
- even tho it may not be displayed as such, retrieving the PIWIK geolocation result would also be a useable data detail right on the visitors end of things.
PIWIK can obviously record & generate all the data, but there seems to be no way to access the data conveniently & quickly if all I want is to retrieve one videos view count.
I am aware that especially this example would be tricky (and time-taking, if there was no pre-processed report on content views, so there might be a need to configuring individual pre-processed reports which could then be accessed via API…),
what I am trying to point out is:
There is data which could be deliberately set to public and be made available thru an API, giving PIWIK a new dimension of usefullness.
As things are right now, I have to double-track each video view, once in PIWIK, and once in my own database, just to provide the counter.
PIWIK is definetly better than me in weeding out bot hits, handling many inserts (and 1001 other things).
I have seriously considered purchasing the PIWIK media analytics plug-in, but if the gathered stats can not be offered to the creative users, then that is of much less interest to me.
Since PIWIK doesn’t share its geoIP detection result, I’m doing a second own detection for the details I need to provide the site - these duplicate efforts could be solved by a public PIWIK API module.
PIWIK has custom variables going IN, I’d love to be able to configure custom variables being returned, too
Depending on the choice of data to be exposed, one might not even need any security / access key tools (the view stats are going public anyways, why worry?), but applying some general restrictions (like letting only certain domains request the API, or expecting one key pair used for all public requests) shouldn’t be too hard.
I admit, I’m encouraging you to develop something that will eventually let PIWIK take care of any statistics aspects I’d otherwise have to deal with myself - but I do believe there might be more lazy folks like me on this planet who would apreciate that.
You guys rule at stats… please keep going & thanks for the effort