Hello,

Hope someone can lend me some insight.

In Google Analytics I would like to track clicks on Print PDF links.

For example, I have a Download link at the bottom of node pages of the "Study" content type, e.g. http://www.poverty-action.org/study/financial-coaching-peru.

We have a custom tpl file for the PDF rendering, print--pdf--node--study.tpl.php.

I put the GA script in print--pdf--node--study.tpl.php. The hypothesis was that the Print module link, e.g. http://www.poverty-action.org/printpdf/7456, would be recorded in Google Analytics.

This did not work and I suspect it is because the Print module is not returning an HTML page containing the the GA script to the browser of the user requesting the PDF version.

Any suggestions are appreciated.

Comments

mikebrooks created an issue.