Analytics
2.5K members online now
2.5K 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

How can I track when someone downloads a PDF when they arrive at the PDF document itself?

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi,

We're trying to track when someone downloads a PDF file from a website. We are sending them the link to the PDF file in an email (http://www.example.com/mypdf.pdf).

 

From what I am reading in Google's documentation, it sounds like in order to track downloads, the Analytics code needs to be active on a page where a link to the document already exists. This is not what we are trying to achieve.

 

Is there a way to record when someone downloads the pdf when they only ever view the document itself and not a page on the website?

1 Expert replyverified_user

How can I track when someone downloads a PDF when they arrive at the PDF document itself?

Top Contributor
# 2
Top Contributor

Hi :-)
It is possible. I've not tried this setup and it does take a bit of work to get it setup
http://www.lunametrics.com/blog/2013/06/04/tracking-pdfs-google-analytics-server-side/

Bronwyn Vourtis, Google Analytics Top Contributor
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here

How can I track when someone downloads a PDF when they arrive at the PDF document itself?

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭

Thanks for the post! We don't use much php in our environment, so I may have to look for a different solution that will work for us.