[thelist] Counting downloads via hyperlink
Chris Dempsey
evolt at cubeit.co.uk
Mon Jul 24 11:41:29 CDT 2006
If you can code with PHP you could point the Download PDF link to a page
page which will record the click before showing the link to the file. You
can record the click either in a database or a text file using the file
system [not sure what the PHP equivalent is but in Classic ASP it's called
the FileSystem Object].
eg.
- User browses page with PDF links
- User Clicks Link to get PDF they want
- Link points to counter page and passes unique file ID
- counter page updates download count for requested file then displays the
real link to the file
Not very gracefully put but think you'll get the idea.
Chris.
-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of Peter Brunone
(EasyListBox.com)
Sent: 24 July 2006 16:53
To: thelist at lists.evolt.org; thelist at lists.evolt.org
Subject: Re: [thelist] Counting downloads via hyperlink
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...
HTH,
Peter
From: "Tom Dell'Aringa"
<pixelmech at gmail.com>
Hi folks,
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.
Thanks
Tom
--
* * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
More information about the thelist
mailing list