With the 'File Force Download' (https://www.drupal.org/project/file_force) module installed, links to downloadable files (PDFs, etc), are formatted to force the browser to download to the computer instead of attempting to open it in a new tab.
However, this format alters the URL of the file link to a token-based path:
http://www.mywebsite.com/file/34/download?token=XXXXXXXXXXXXXXXXXXXXXXXXXX
Which prevents Public Download Count from adjusting/ReEx-ing the URL in order to track it.
Example of Public Download Count-processed URL:
http://www.mywebsite.com/sites/all/modules/pubdlcnt/pubdlcnt.php?file=http://www.mywebsite.com/pdf/back_office_checklist.pdf&nid=1447
Is there a way to adjust the RegEx to allow tracking on this type of URL? Or maybe incorporate this URL format into the general code?
Comments
Comment #1
amaisano CreditAttribution: amaisano commentedComment #2
amaisano CreditAttribution: amaisano commentedComment #3
amaisano CreditAttribution: amaisano commentedComment #4
GBain22 CreditAttribution: GBain22 commentedHello, this would be really useful to me - is there any progress with this or a way to make it work?