Hey guys, I google'd to no avail. Does anyone know of a way to count clicks on a specific link, without altering the URL of the download file? In other words, I don't want mysite.com/download.php?src=blah, I want it to be direct.
Hey guys, I google'd to no avail. Does anyone know of a way to count clicks on a specific link, without altering the URL of the download file? In other words, I don't want mysite.com/download.php?src=blah, I want it to be direct.
1) look in your Apache logs - most accurate way
2) use JavaScript or jQuery to attach a callback function to the <a> element - doesn't work for non-js browsers
3) try one of the Google Analytics enablers, and add the download extension to your list of tracked items (some implementations will do as you are asking, some won't) - you don't need to write code
4) use Apache rewrite rules if you want to mess with the URL of the file, and then use whatever download enabler/counter/redirector you need
This topic has been closed to new replies.