Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 4243

JavaScript statistics vs. import_logs.py statistics (no replies)

$
0
0
We are on 2.9.1.

I am comparing the JS results and the import_logs results and I am find a notable discrepancy. Here are some numbers:

Looking at our main site:

Visits Unique Visits Avg. Time Actions per visit Pageviews Unique pageviews
www/import 17865 17855 200s 6.1 171,742 63,790
www/js 2261 1341 276s 1.9 4,281 2,932
admissions/import 820 820 219s 6.8 5,518 3,234
admissions/js 30 14 232s 2.3 70 47

A count of the uniq ip addresses:
www 14,289
admissions 854

These two counts were done by:

cat access_log|grep -v gsa-crawler|awk '{print $1}'|sort|uniq|wc

As you can see, the uniq ips hitting each server is closer to the import count than the JS count.

When I go to the main page on either server or a sub-page, I still see the JS code in there. I am pretty convinced that it is
being "hit" on each page.

The import command I am using in both cases is:

./import_logs.py --url=http://piwik.gpc.edu/piwik --idsite=${idsite} --recorders=8 --enable-http-errors --enable-http-redirects --enable-reverse-dns --recorder-max-payload-size=600 access_log

where access_log is the access log for the site, weather it is www, admissions or something else.

The archive command I use is:

./console core:archive --url=http://piwik.gpc.edu/piwik

Any idea why the counts would be so different between the import and the JS?

Thanks,
Douglas

Viewing all articles
Browse latest Browse all 4243

Trending Articles