Cannot get download tracking working #5786
Labels
Bug
For errors / faults / flaws / inconsistencies etc.
Major
Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
worksforme
The issue cannot be reproduced and things work as intended.
Milestone
Cannot get download tracking working.
I have tried the following two methods and none of them seems to work.
I have downloaded version 0.2.9 on 2008/09/23.
Method 1: as per Javascript Tag Doc (http://piwik.org/javascript-tag-documentation/)
<a href=‘MyTest.pdf’ class=piwik_download>Link I want to track as a download</a>
Method 2: as per ticket number 134 (#5554)
Content of html file:
<a href=‘MyTest.php’>Link I want to track as a download</a>
Content of ‘MyTest.php’:
<?php
Piwik_LogStats_API::logNewDownload(‘MyTest.pdf’);
readfile(‘MyTest.pdf’);
?>
I searched for ‘logNewDownload’ in the src and can’t find it.
please help resolve this as download tracking is the most important tracking we want to do.
Thanks.
Keywords: download tracking
The text was updated successfully, but these errors were encountered: