Click Tracking CakePHP Plugin
Copyright (c) 2009 Matt Curry
http://github.com/fr0z3nfyr/click (Forked from: http://github.com/mcurry/click)
@author Matt Curry matt@pseudocoder.com
@license MIT
- Run the SQL in
/click/config/sql/clicks.sql
to create the DB table. - Include the helper in your AppController/Controller:
var $helpers = array('Click.click');
- Create your links using the helper (same syntax and options as
$html->link()
):echo $click->link('PseudoCoder', 'http://pseudocoder.com');
- To view the click information download the status plugin (
http://github.com/mcurry/status). Once you have it setup add the click panels:Configure::write('Status.panels', array('Click.latest', 'Click.most'));
- Go to
http://yourapp/status