Piwik Default Stats for WHM/cPanel


Is there a way to install Piwik ONCE and have it track stats on all sites? It does NOT have to integrate with WHM/cPanel (though that is what we are running).

We would like to set it up so that domain.com/stats would allow you to login (perhaps with teh cpanel user/pass) and then show you stats for just that domain.

Any ideas?


Well, I’d say you have some API coding in front of you.
For each cpanel website you would have to add a “site” in Piwik and add its js code to each of the html/php/whatever sites.
As Piwik is not working with the webserver logs thats a needed process.

And for the cpanel login you would need to update these settings to the piwik users database too.