Omniture provides some great functionality for automatically tracking downloads with JavaScript for analytics.
Issues arise with the reliance upon JavaScript for measurement. Not all users have JavaScript turned on. The below script is an automated way to track downloads using server side passing of data.
PHP
Automated Omniture Download Tracking
Exact Target API functions
This code allows a user to add email addresses to Exact Target lists automatically via a web form.
File Download Management Updater
If you happen to have a download link constantly changing due to version updates this should ideally help you. This script is designed to always point to the most recent file in a folder. Any file can then be stored in the folder, with the proper first few letters of the file name, allowing for a single link to be utilized and not constantly updated.
One can store files in a directory and the script will know which file is the most up to date. Parameters in the URL can be utilized to store multiple files in the same directory.
