Forum Moderators: DixonJones
I'm using the following code to track pdfs
<a href="#rs_roadmaps.ftf4y_pdf#" onClick="javascript:urchinTracker ('/pdf_ftf4y/.pdf'); ">4-Year</a>
I've also used
<a href="#rs_roadmaps.ftf4y_pdf#" onClick="javascript:urchinTracker ('/pdf_ftf4y/*'); ">4-Year</a>
It is tracking pdf_ftf4y subdirector, but what I need is what follows which is the pdf file name tracked.
Does anyone know what expression I need to track the file names that are being called from the database? We need to track the individual PDFs that are being downloaded.
Thanks for your help.
Donna
[edited by: Receptional at 10:07 am (utc) on Mar. 8, 2007]
[edit reason] URL in signature removed [/edit]
<a href="#rs_roadmaps.ftf4y_pdf#" onClick="javascript:urchinTracker ('#rs_roadmaps.ftf4y_pdf#'); ">4-Year</a>
There is no problem outputting a ColdFusion variable into the JavaScript source as this is resolved on the server side.
To debug this, look at the "view source" for the page to see what ColdFusion generated and compare it with the spec for Analytics.