Piwik PRO tracks downloads and outlinks automatically. But if you don’t see data for these elements then this may be the reason:
- Outlinks and downloads are turned off: You could have turned off collecting data for downloads and outlinks. Try to turn it back on in Tag Manager > Tags > Piwik PRO (tracking code) > Data collection > Outlinks and downloads.
- Browser settings: The visitor is using the web browser with a WebKit bug that interrupts the tracking request. Try to add the
target=”_blank”
attribute to anchor elements. This should solve the issue. - Conflicting JavaScript code: Your page is using another JavaScript script or library that sets click handlers. When the third-party click handler returns the value, it is making the browser cancel other registered click handlers and doesn’t return the false. Most of the scripts and libraries handle it correctly, but you may need to edit your JavaScript code manually to return false in on-click events.
- File formats are unrecognized: Piwik PRO recognizes the following file formats:
7z, aac, apk, arc, arj, asf, asx, avi, azw3, bin, bz, bz2, csv, deb, dmg, doc, docx, epub, exe, flv, gif, gz, gzip, hqx, ibooks, jar, jpg, jpeg, js, mp2, mp3, mp4, mpg, mpeg, mobi, mov, movie, msi, msp, odb, odf, odg, ods, odt, ogg, ogv, pdf, phps, png, ppt, pptx, qt, qtm, ra, ram, rar, rpm, sea, sit, tar, tbz, tbz2, tgz, torrent, txt, wav, wma, wmv, wpd, xls, xlsx, xml, z, zip.
To fix your issue you can customize file formats or mark links as downloads.