How can I track downloads with Google analytics?

Question

How can I track downloads with Google analytics? I need track downloads with Google Analytics. I am searching in your blog but your answers are short and I found it. Page Views are running in Analytics. What is the hook for track pdf downloads?

Answer

The following tutorial gives a good insight into where and how to set up Google Analytics tracking: https://flowpaper.com/How-to-track-page-views-in-PDF-documents-for-page-flip-publications-using-Google-Analytics/