pwired Posted December 17, 2013 Posted December 17, 2013 I tried a lot of web site statistics tools but they only show page visits, country, ip, browser, os, etc. etc. What I need is a server script or tool that shows me how many times a specific file is downloaded from my website and from what ip. If anyone knows, thanks in advance.
Soma Posted December 17, 2013 Posted December 17, 2013 - AWstats installed on most hosting servers is a server-side statistic "tool" for every visits and file accessed. - Google Event Tracking, make a click script that tracks events. 1
pwired Posted December 17, 2013 Author Posted December 17, 2013 Thanks Soma, yes I saw AWStats on my own payed server and other web statistic services as well. I forgot to mention that in this case it is for a free hosting server with limitations such as without included webstatistics. So I am looking for a php script or other script that I can upload and keeps track of file downloads. So far I found this page http://proxy2.de/scripts.php but no php script.
Martijn Geerts Posted December 17, 2013 Posted December 17, 2013 Here again ! Use Soma's flexible download script and add some logic 2
pwired Posted December 17, 2013 Author Posted December 17, 2013 Just found out that AWStats is opensource http://awstats.sourceforge.net/#WHAT Thanks again Soma.
Soma Posted December 17, 2013 Posted December 17, 2013 AWStats just reads the access log from the server, so I'm not sure what your free server has or allows. You'd need access to the access log. There's no such script that can just be uploaded and tracks files downloaded. Unless you use this technique I mention with google analytics event tracking using JS. Or if you make a download file "is a page", so you can count on the template side with php. martijn was faster... 2
pwired Posted December 17, 2013 Author Posted December 17, 2013 Martijn, thanks for flexible download tip. I prefer scripts that I can work on my self because it will improve my php skills.
Martijn Geerts Posted December 17, 2013 Posted December 17, 2013 It's the easiest way to go compairing the other options. The other possibilities can make you insane ;-)
pwired Posted December 17, 2013 Author Posted December 17, 2013 Yes it is not sure then if AWStats is going to work when it needs the free limited server access logs. Guess I have to try that out.
pogidude Posted December 18, 2013 Posted December 18, 2013 You could also look at Piwik https://piwik.org/faq/new-to-piwik/#faq_47
onjegolders Posted October 15, 2014 Posted October 15, 2014 Great article Soma about flexible download pages. Presumably easier to handle access also. Never noticed WireSendFile before either.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now