Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get download tracking working #5786

Closed
anonymous-matomo-user opened this issue Sep 24, 2008 · 2 comments
Closed

Cannot get download tracking working #5786

anonymous-matomo-user opened this issue Sep 24, 2008 · 2 comments
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

Comments

@anonymous-matomo-user
Copy link

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

@robocoder
Copy link
Contributor

Are you still encountering this problem with the latest version of Piwik?
Are you seeing the downloads in the log_link_visit_action and log_action tables?

Note: the tracking documentation has moved to http://piwik.org/docs/javascript-tracking/

Ignore method 2. logNewDownload() is a proposed API change for bug #134

@robocoder
Copy link
Contributor

No response.

Please try Piwik 0.2.28 and double check the tracking code on the page where your download links appear.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

2 participants