Quantcast
Viewing all articles
Browse latest Browse all 4243

How to show more accurate download stats using import_logs.py (no replies)

Hi,

This is my first post on these forums, so first off I'd like to give a big thanks to all the developers who work on Piwik for creating such a great product!

We've been using Piwik for around 6 months now, always using import_logs.py. We currently track 15 sites this way on a dedicated server. Everything is working very well.

However, when we view the download statistics, we notice two things that seem a little off:

1 - The downloads are tracking almost only png, jpg and js downloads (some PDFs and other formats as well, but a very short list of those, see #2 below). Since these are not in the DOWNLOAD_EXTENSIONS setting in import_logs.py, I'm guessing that download stats tracks the most popular extensions and ignores this param? Is this correct?

Hopefully to remedy this, we've just now added --download-extensions= and a comma separated list of extensions we would like to track. Is this the only way to track only download files we wish to track?

2 - When we view PDF downloads, we're only seeing downloads for some of our PDFs. It is very important that we have a count of ALL PDF downloads. Again I'm guessing that Piwik only records the more popular downloads, and drops stats for the less popular downloads. How can I force Piwik to show stats for ALL downloads in my --download-extensions= param.

This is my current EXTRA_PARAMS setting:

EXTRA_PARAMS='--enable-http-errors --enable-http-redirects --enable-static --enable-bots --recorders=8 --recorder-max-payload-size=500 --download-extensions=bin,doc,docx,exe,gz,gzip,mpg,mp3,mp4,mpeg,pdf,ppt,pptx,rar,tar,tbz,bz2,tbz,tgz,txt,wav,wma,wmv,xls,xlsx,xml,xsd,zip'

Is there anything I'm missing, or more I can tweak to get more accurate download stats?

Many thanks for any suggestions you might have.

Viewing all articles
Browse latest Browse all 4243

Trending Articles