As Google and other search engines are to eager to index links to files, as well users like to share links to PDF on your site I am thinking, is there any way to mask download in Hugo? maybe Shortcode?
There is clever option to add aliases to posts in markdown, and wonder if something like that can be achiever for pdf files.
What I want to achieve is that I can trace downloads. On a page that will be fired to download file will be minimal analytics included so I can see that this was downloaded.
Just an idea, not sure if currently is possible etc.
Also, users who want to share link, they will share to masked instead pure link to PDF file. That will give greater control whats on other side of the masked URL as well prevent from (show from where) draining transfer on your account.