This plugins is heavily requested by the community (http://feedback.phpmyvisites.net/feedbacks/3135-external-link-clicks-statistics).
Attachment: latest piwik patch
piwik.patch
I believe Download Tracking should be implemented server side. If outbound link tracking is enabled then you can process the URLs later for file extensions or custom mask,s such as '/download.php?file_id='.
I believe I can have a prototype for outbound link tracking early in February.
Eli-D we want to add this feature on client side using automatic javascript link tracking.
(In [361]) - deleting useless zend lib
(In [366]) - refs #5460: removed slash at the beginning of URL. Changed table output now output to datatable instead of dataTable_actions and also includes link to outlink
patch submitted:
changed piwik.js so you can override/define in javascript code:
piwik_install_tracker = 1 | 0
piwik_tracker_pause = (time in ms)
piwik_download_extensions = "jpg|png ... ";
piwik_hosts_alias = [ "hostname1.com", "hostname2.com", ... ];
(window.location is added to this array)
you can specify link classes:
piwik_ignore - do not track this link
piwik_download - this link is download
piwik_link - this link is outlink (even if it is from this host/host aliases)
and solved the bug with:
(patch attached)
(In [371]) - refs #5460 updated test cases, updated function to test if an url looks like an URL in order to support ftp:// news:// etc.
(In [374]) - refs #5460 one more test
(In [375]) - refs #5460 added test with link text being image
(In [386]) Commited some very good patch by Maciej Zawadzi?\197?\132ski :
-fix #5526, #112 : Admin index and menu
-fix #5508 : nice login screen
-fix #5525 : nice plugin admin management,
-fix #5460 : outlink/download tracking, solves bugs and adds some options
+Some code cleanup regarding new coding standard