PDF Google Tracking

Hi,

I want to add tracking code to a specific graphic icon which downloads a PDF. I want to add the Google tracking code to that specific download graphic so I can track it within google tracking. Does anyone know about how to go about doing this?

The website is www.selectdeck.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

This might help you get started:

http://tech.groups.yahoo.com/group/webanalytics/message/14771

I understand the part about inserting the javascript part into your link tags, but the “/downloads/map” part I’m not sure on what that means. Once you apply this code you should be able to click on “Content” and then select “Top Content” and it should show your stats. The more I think about it, it sounds like it creates a page when there isn’t one and since the PDF in the example is named “Map”, it’d track it under a made-up downloads folder link and GA would understand that as a page even though there isn’t a downloads folder or a subfolder named maps either. Interesting, but confusing.

Phew…sounds like you’d need to drop the links in an HTML item or in the external hyperlink window you’d write out:

www.example.com/files/map.pdf" onClick="javascript:pageTracker._trackPageview('/downloads/map');

Hopefully that can get you started.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options