Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWStats or Google Analytics? Which is more accurate?

I have AWStats provided my hosting service provider. I have google analytics as well setup. But both show different statistics whom should I trust? Whats more accurate of these two? Should I use something else for getting accurate statistics.

like image 354
Abhishek Dhote Avatar asked Jan 23 '11 15:01

Abhishek Dhote


2 Answers

They measure in different ways. AWStats uses analyzed server logs, and they include crawlers and bots, as well as end users with JavaScript disabled and Google Analytics opt-out users, none of which Google Analytics measures.

AWStats constructs visits from a combination of hits in the server logs from their IP address, so they don't follow a user who visits from multiple locations, or who has a dynamic IP address, and they count multiple users from the same IP address as being the same visitor. Google Analytics uses browser-specific cookies to track visitors multiple times in multiple locations. Both can have a tendency to either inflate or deflate numbers. So, server logs could count multiple people on the same network as the same person, but they also double count as you move around, and have no idea how to deal with dynamic IP addresses. Google Analytics can't track one person across their multiple browsers.

So, the right answer, in general, is that no analytics tracking is ever 100%, that the numbers should always be treated as approximations, and that every number you look at should be considered in the context of how its tracked and only compared to numbers gathered in similar contexts. The general trend is that AWStats overstates numbers and that Google Analytics understates them, but that's not an ironclad rule.

like image 126
Yahel Avatar answered Sep 18 '22 23:09

Yahel


I set up a test on my website to compare unique users via Google vs AWStats. On the website I made a view counter that stored unique IP addresses, and measured the hits for a single page, within a few hours. I then looked through the ip logs and removed any crawlers, and compared this to what AWStats measured and Google.

The view counter measured what I will call 100% AWStats was around 125-150% of view count Google was 25-40% of view count

This was/is consistent. My conclusion is that Google seems to always under report and AWStats over report. I think the true figure is somewhere in the middle, but slightly closer to AWStats than Google. So if Google says you get 100 uniques and AWStats says 500, I would personally think the actual amount is closer to 300. This is not completely scientific and it would be great for others to replicate this test.

like image 33
youare Avatar answered Sep 21 '22 23:09

youare