Inconsistend results with google analytics, AWStats, Piwik and plugin


(jarekl) #1

I am a little bit confused about number of visitors on my site, three stats counting programs show different numbers, I am not sure which is the closest to the real number.

Site runs photo album using www.pixelpost.org

Let’s analyze few days from March '09

  1. Image Statistics Addon for Pixelpost (Visitors only/All)
    01/03 - 460/484
    02/03 - 527/545
    03/03 - 332/363
    04/03 - 214/246

  2. Google Analytics
    01/03 - 1
    02/03 - 1
    03/03 - 2
    04/03 - 1

  3. AWstats from cPanel
    01/03 - 185
    02/03 - 138
    03/03 - 137
    04/03 - 116

  4. Piwik (open source analytics)
    01/03 - 1
    02/03 - 1
    03/03 - 2
    04/03 - 2

Google analytics and Piwik’s stats are based on JS code execution, AWstats gets data from apache logs, Image Statistics Addon for Pixel post probably records hits when database lookup is performed.

Can anyone elaborate on it?

Thank you.


(Karlsson) #2

Maybe this helps:

Unique visitors count definitely too low (?)

[size=8pt]-----------
Schluesseletui-Shop - my site[/size]


(vipsoft) #3

Look at your apache logs. Grep for a specific URL for a given date and then manually calculate your results.

For each IP address, look at the user agent string and what other URLs are fetched. Is the user agent string and surfing behaviour consistent with a human visitor, or does it look like a bot?

A cursory look at pixelpost suggests one area for under-reporting is where the DOM creates page content dynamically (e.g., iframes, anchor links, etc). You’ll have to add the tracking code or attach listeners to links, as appropriate, e.g.,

_pk_add_event(YOUR_NEW_LINK_ELEMENT, 'mousedown', _pk_click, false);

(Note: calling _pk_add_event() directly is a workaround until we release a new version of piwik.js)