How Clicky decides which links to track as downloads
When our tracking code executes on your site, the code loops through all links on the page and looks for links that end with common file extensions. All links that match these patterns get an event listener attached to them so that a ping is sent to our tracking servers when they are clicked.