views:

242

answers:

5

Does anybody know a minimalistic, nice-looking visitor statistics suite based on PHP that displays visitor stats in a end-user friendly way.

I know Google Analytics, and the big names in PHP and Perl based traffic analysis; they are all too complicated and feature-rich for what I need. I am looking for something that is already totally simplified and that I don't have to strip down.

Required features:

  • Visitors today, this week, this month
  • Where visitors came from
  • A good referer overview
  • Visitors on this page
  • Good filtering of bots

Optional:

  • Can connect to built-in IP locator thingy, I forget the name... Anyway, I have good IP to country resolution based on one of the big providers' functions in the provider's $_SERVER variable

  • A nice API and/or source code documentation to extend / interact with would be a plus.

There is no access to the server logs on the server I want to use this so the suite would have to bring its own tracking facilities, be that a PHP include, an image or a script.

Open Source would be nice, but I would consider paid solutions as well, as long as they're scripts shipped with source. I want no dependencies from external services.

Thanks in advance!

+2  A: 

In most cases, you'd roll your own. Take a look at PHP's $_REQUEST documentation and write this data into a SQL table. You can do this portion very easily in 20 lines or less, and if you're clever - probably 5 or so.

Now, displaying that data can be done in any method you so choose, since you've got all the data in an SQL table. Sort, filter, and organize using any method you please.

Martindale
I've thought about that (and done it in the past) but it's not that simple. First and most important, you have to filter out bots. Then, you want to filter out recurring visitors. Then there are additional goodies that would be nice to have logged - visitor language and country for example. It tends to quickly grow beyond a handful of lines, so a ready-made solution is what I need.
Pekka
+2  A: 

Perhaps one of the most well-known PHP-based analytics applications out there is Mint (http://haveamint.com/). It's not as feature rich as other analytics apps ... it may be too feature rich for what you are looking for.

Jason Leveille
Mint looks great. I actually had that in the back of my mind when I wrote this (but had forgotten the name and thought it was in Rails). Will look into that if no comparable Open-source solution comes a long. Cheers.
Pekka
A: 

Google Analytics is by far the most used of all statistic software and is the most reliable.

You get a global map of where in the world they're coming from, what specific pages they come from, duration on the site.

Webnet
Just an idea, but I block google-analytics because I dislike the prevalence of Google tracking me. So if you want all of your traffic, not just those that permit GA, don't use it.
The Wicked Flea
+1  A: 

I just started using Clicky, which I am very happy with. Was using Google Analytics before, but this is a lot cleaner and clearer.

If you want to display stats to visitors you can either allow public access through the preferences, or you can use some of the widgets they provide. I would probably go with the latter.

Another cool thing is that you can actually watch real-time statistics. For example, they have a map where dots pop up when someone enters your site. Fun, fun, fun ;D

Svish
Clicky is free open source or paid one..
Bharanikumar
It's free, although you can pay for it to get more features kind of. But I don't. Not sure if it is open source or not since I haven't checked. Don't really care that much if it is open source or not :)
Svish
+2  A: 

I liked the look of Piwiki, however it may be a bit feature heavy for you. I is aimed at being a foss alternative to Google Analytics

Yacoby
+1 for Piwiki, it's not as sexy as Mint but far better (and it's free and OSS).
Alix Axel