What statistics app should I use for my website?
I have my own server (with root access).
I need statistics of users who visit my website etc etc...
I have looked at an app called Webalyzer... Is this a good choice?
I run apache2 on a Ubuntu 9 system...
If you know of any good statistics apps for servers please let me know.
And a follow-up question: All statistics are saved in log-files right? So how large would these log-files become then? Possibility to split them would be good, dont know if this is possible with Webalyzer though...
Solution 1:
The Webalizer is very good at mining your Apache logs for stats -- who visits, from what IP addresses, a breakdown of the kinds of domains those IPs reverse-resolve to (.com, .net, .co.uk, .ru, etc.), what their browsers claim to be (which is usually, though not always, what they actually are), what operating system the user is using (again, provided the browser is reporting it honestly), etc., etc. It's completely non-intrusive; nothing special on your web pages, no additional requests to external servers on every page load, etc.
Google Analytics, on the other hand, works at the client level. Every page on your site calls out to Google Analytics via a script tag so that they can capture this information for you (and a great deal more besides). Dead easy to use, but it does incur that extra request to their servers on every page load. Also, note that some advertising blockers will also block Google Analytics; and GA requires Javascript, which some (though not many) may have turned off.
Those would be two of the big ones, each with its different approach. The Webalizer being entirely local (and therefore private) and non-intrusive may be appealing; the scope and analysis features of GA may be appealing.
Solution 2:
Google analytics
To handle large log files, you might want to look into log rotators: http://www.cyberciti.biz/faq/how-do-i-rotate-log-files/
Solution 3:
There is a local, Open-Source, PHP-based alternative to Google Analytics named Piwik that is still under heavy development but already worth a close look.