Google Analytics to Track Images/PDFs

Hello Guys, Any idea if it is possible to use the Google Analytic module so that it can track when users access any image or PDF in an Application and not only when they visit pages? Right now, we're only able to track the pages they visit but would want to make sure there is tracking on any image they click or download. Many thanks in advance!
1 answers

You could try to use the EventTrackerButton within the Google Analytics widget; this will track an event to Google Analytics when clicking on the button. If you define the on click behavior of the button to download a file or view an image, you should be able to track whenever users open a specific file or image.