title: Best way to track (direct) file downloads
body: <p>what is the best method to track direct file downloads? I found some solution, for example this one: </p>
  
  <p><a href="http://www.gayadesign.com/diy/download-counter-in-php-using-htaccess/" rel="noreferrer">http://www.gayadesign.com/diy/download-counter-in-php-using-htaccess/</a></p>
  
  <p>But it is not working for me, I only get a blank page when I am trying to download a file + I don't know it is enough secure or not...</p>
  
  <p>Google Analytics only works with javascript, can't track direct file downloads. </p>
  
  <p>Best would be a secure and own hosted solution.</p>