How to track which users click link/button?

I’d like to be able to track specifically which users click a link or button in a private paid members only section of my site. For example, if the user lands on the link site.com/media/1.pdf, I would like to know which users land on that link.

This is to ensure that users do not download all of my content and then run away.

Thanks!