View Single Post
Old 11-30-2010, 07:24 AM  
CodeR70
Confirmed User
 
CodeR70's Avatar
 
Join Date: Jul 2009
Location: Netherlands
Posts: 364
Quote:
Originally Posted by Angry Jew Cat View Post
I might have to take a better look through the system. I know how to follow the user actions, and see outbound clicks, never noticed any way to bring up the outbound click statistics though. When you say there is a class, do you mean one that works as an extension of Piwik, or something separate? Thanks for the tip.
Check this page http://piwik.org/docs/tracking-api/, section 'PiwikTracker PHP Class API'.

You should use that method if you cant use the JavaScript/Image/CSS methods. If you get the PHP class (link on the same page) you should use the method 'public function doTrackAction'. That method is used to track downloads and outbound links.

By using this method you basically have all flexibility to register whatever outbound link you want. In combination with campaign tracking (piwik_campaign and piwik_kwd parameters) it's very powerful.

Use http://dev.piwik.org/trac/wiki/API/Reference if the statistics reporting of Piwik is not sufficient. It is so flexible that I use that for a new toplist script I have written (for instance NaughtyCamToplist.com, based on LO and Piwik).

Hope you can figure it out.
CodeR70 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote