New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aggregate data for multiple (groups) of websites #2541
Comments
The basic stats implementation could be similar to how "profiles" work in google analytics, so you could create, edit, assign and delete websites from groups at will, and view the main traffic numbers for each via the All Websites Dashboard. Adding individual or expand/collapse all functionality to that dashboard would also be helpful. |
Some thoughts on this feature...
I assume that both aggregates are important/nice to have. The algorithms to sum reports are more or less already there in the code (used for the "Date Range" feature for example). The question remains regarding how to request reports.
We could allow to request the consolidated report for "all site in a group", "all sites for a user"... or we could at first, allow consolidated report of a comma separated list of IDs: &idSite=1,4,55,332 which users would build (by getting site IDs from a website group, or site ID for a given user).
Then, we could also somehow display the consolidated reports in Piwik UI, but maybe this is not needed in V1.
We could maybe pre-process the reports, or we could simply wait until they are requested and then fetch all reports for each site in the request, and sum in real time. This should be fairly fast since there are no logs to run a query against (we assume that all individual website reports are themselves pre-processed). I propose that at first we don't pre-process the "consolidated" reports. We can expect response time in the range of 1 second if requesting consolidated "Top Keywords" for around 10-20 websites. |
Any updates on this? |
@pebosi, no update |
Hello everyone! Just to let you know: this powerful feature is now available as part of the Roll-Up Reporting premium plugin. Check it out & learn more here: https://plugins.piwik.org/RollUpReporting |
Placeholder ticket for processing aggregated reports for multiple websites.
For example, API functions could accept idSite=1,2,3,4 to return "top keywords" for the websites 1,2,3,4. This would be a useful feature for large Piwik setups, where one customer would "own" several websites and would like to see aggregated stats for all his/her websites.
The text was updated successfully, but these errors were encountered: