Forum Moderators: buckworks & skibum

Message Too Old, No Replies

AdWords Conversion Tracking by JavaScript onClick Handler?

A reliable method to track PDF downloads?

         

deus

10:04 am on Oct 18, 2005 (gmt 0)

10+ Year Member



Just wondering how to set-up AdWords conversions for tracking PDF-document downloads. Then I came across the method

<a href="file.pdf" onClick="adwords_conversion();return true">Download PDF</a>

where adwords_conversion() could be a JavaScript function (located in the page head section) containing the adwords conversion code.

Is such an onClick action a reliable method for tracking clicks on PDF (or any other) files on a web page? Any experiences?

It would be very helpful to avoid dynamic redirect pages for tracking because search-engine indexing (and PageRank transfer and so on) of the PDF document would not be affected ...

Key question: Is the onClick request always executed? What if the PDF request is faster?

eWhisper

12:58 pm on Oct 18, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This came up recently:
[webmasterworld.com...]