Detect when a user clicks file download link I Have a view that outputs nodes, and also a link to download files that are attached to these nodes. I'd like to know when a user clicks one of these links, so that I can log the event.

All attached files are files in drupal's public file directory, inside a directory at sites/default/files

Is there good approach for detecting a click or file download in this case?
Module Track da files (despite its goofy name) tracks both public and private files. Here is a quote about it (from the module's project page):

... enables the possibility to track how much visitors are viewing files on site.
Every link to a file can be configured to be tracked. Then, a record is registered each time a visitor access the file from this specific link.