There is a task: to track the file download, analysis is needed - the number of downloads for the period, region

Tell me where can this be done? (in the i.disk and google.disk shows only the number of downloads or I do not know how to use them?)

  • Where is the file supposed to be stored? The easiest way would be to write a simple script that, when accessing it, would increase the download counter (remembering the IP) and then redirect to the file. Script to throw on your site and links "to files" people show in the form of example.com/this_script?file_id=1234. Please clarify if somewhere I put it unclear. - Alex Belyaev
  • one
    Or, as an option. parse access.log :) Less re-coding of the site code, never less than the actual development, plus the same less beautiful. - Alex Belyaev
  • thanks for the answer, only for this task I didn’t want to raise the site, maybe there is already a web service with similar functionality? - Alexander
  • JavaScript to send events (events) to Google analytics. Google itself will complement the regions and all that. - Sergey Snegirev

1 answer 1

You can use one of the link shortening services:

  • goo.gl
  • bit.ly
  • tinyurl.com
  • is.gd
  • clck.ru
  • tr.im
  • snipurl.com
  • u.to
  • tiny.cc
  • t.co

These services give statistics on the transition links

  • thank! exactly what is needed. - Alexander