You could use Google Analytics for WordPress. Here’s an excerpt from their FAQ on how you could set it to track certain file types:
How can I track downloads? Check the box for “Track outbound clicks &
downloads”, after that, make sure the file types you want to track are
listed in the box of extensions to track as downloads. You’ll find
this input field under “Advanced”.