[thelist] Counting downloads via hyperlink

Max Schwanekamp lists at neptunewebworks.com
Mon Jul 24 11:32:30 CDT 2006

> From: Peter Brunone (EasyListBox.com)  
> 		   Do you have access to the logs?  If so, it 
> would seem trivial to parse the log file for the filename and 
> confirm the status (200) of the request...
> 				From: "Tom Dell'Aringa" 
> I have a link to some PDFs people can download. I'd like to 
> easily track how
> many times the document is actually downloaded. My web stats 
> can show me
> page accesses but not idividual clicks. Does anyone know how I can
> accomplish this? This is a wordpress blog so PHP is available.

Alternatively you can make a script to track the click and then serve up the
PDF.  It would be a trivial script.  Probably there's a WP plugin to manage
downloads too (GIYF...e.g.:

Max Schwanekamp

More information about the thelist mailing list