Click tracking for PDF ?

Discussion in 'Google Analytics' started by findashish, Jul 15, 2010.

  1. #1
    Hello Again,

    I am submitting these types of questions as I have been getting very help from digital forum members.

    Could we track hits for any PDF of my site such as brochure, profiles.. etc..

    Thank you
     
    findashish, Jul 15, 2010 IP
  2. atxsurf

    atxsurf Peon

    Messages:
    2,394
    Likes Received:
    21
    Best Answers:
    1
    Trophy Points:
    0
    #2
    yes, but you will need to link your pdf via redirect page containg analytics code
     
    atxsurf, Jul 20, 2010 IP
  3. imperialDirectory

    imperialDirectory Peon

    Messages:
    395
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You can do that by using Event Tracking in Google Analytics.

    When your visitor click on the link that links to the PDF (to view or to download), the event can be record by Analytics. Here's the details on implementing it:
    http://code.google.com/apis/analytic...ckerGuide.html

    I am not sure which version of Analytics code you using. But here's sample code you can use:
    Code:

    <a href="http://www.yourdomain.com/sample.pdf" onClick="_gaq.push(['_trackEvent', 'PDF Download', 'your_pdf_name']);">Download Sample PDF</a>

    In Analytics, the record will show up in "Content" -> "Event Tracking"
     
    imperialDirectory, Jul 20, 2010 IP
  4. aadisharma

    aadisharma Peon

    Messages:
    336
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks for the details imperialDirectory. I will try the code you shared for tracking some of PDF file downloads on our website
     
    aadisharma, Jul 27, 2010 IP