[ilugc] Count number of clicks [downloads]

  • From: steve@xxxxxxxxxxxx (steve)
  • Date: Thu Feb 4 12:38:00 2010

Hello,

On 02/04/2010 04:51 AM, depp fx wrote:

Hi Team

I have to keep a record of the number of downloads happening on a particular
page.

* I have a webpage consisting of a direct hyperlink to download a file from
another site.

I'd want to know how many people are clicking it. I do have access to the
logs from the server, if that makes a difference.

I was thinking of deploying html redirection&  then counting number of
redirects on the page via the access logs, but don't know how to do it. Or
any other better idea please?

There are a number of ways to do this, from the simple to the complicated (but 
feature rich).

Simple, grep through the logs access.log for the download file with http 200 
return code. Bit more feature full -- install a log analyzer like webalizer[1] 
or awstats[2] or something similar[3]

hth,
regards,
- steve

[1] http://www.mrunix.net/webalizer/
[2] http://awstats.sourceforge.net/
[3] http://en.wikipedia.org/wiki/List_of_web_analytics_software
-- 
random non tech spiel: http://lonetwin.blogspot.com/
tech randomness: http://lonehacks.blogspot.com/
what i'm stumbling into: http://lonetwin.stumbleupon.com/

Other related posts: