Improve reporting of tracked download links.
Fix bug in download tracking.