Analytics
6.8K members online now
6.8K members online now
Learn how to set up goals and Ecommerce tracking, verify accuracy of attribution traffic sources, and discuss funnel visualization, Multi-Channel Funnels, the Goal Flow Report, and Enhanced Ecommerce
 
Guide Me
star_border
Reply

tracking digital downloads

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hello, 

 

I am trying to set up a goal for whenever a PDF is downloaded on a site. It doesn't have a thank you page attached to it would anyone have any suggestions on the best route to do this? I have attached an example of the PDF from the website. 

 

This is the page where they can download the PDFs from.

http://www.synergylawgroup.com/synergy-solutions

 

Once they click the download PDF this is the page. 

http://www.synergylawgroup.com/sites/default/files/pdf/slg_corp.commercial_law_10.14.pdf

 

Any help would be greatly appreciated. 

Re: tracking digital downloads

Visitor ✭ ✭ ✭
# 2
Visitor ✭ ✭ ✭
Hi,
You are using the Universal Analytics.

If this is the case, it allows for event tracking If you put the following in the "A tag".
onClick = "ga ( 'send', 'event', 'click', 'download', this.href});"

However, there may be more other good way. It is a good official help even see.
https://developers.google.com/analytics/devguides/collection/analyticsjs/events?hl=en

Thank you for your attention.