Using CodeIgniter hooks for stats collection
Damian from gostomski.co.uk posted an interesting example about how to use hooks to collect simple stats in a CodeIgniter application. The example shows us how to collect stats from a website using our own stats database table to track things like project Id, session Id, etc. instead of using Google Analytics or other web analysis or reporting tool.
He used this approach to track stats in a project management tool but this idea can also be used to track any other variables in your own CI application using hooks, for example if you have a job listing project and want to keep track of number of views for a particular listing or under a given session you can also use an approach like this one.
Of course, you can also try to use Google Analytics, in particular the Event Tracking and Custom variable tracking that helps you adding more analytics tracking support to your GA reports.
Related searches:
- codeigniter hooks example
- codeigniter stats
- codeigniter hooks tutorial
- hooks codeigniter
- codeigniter hooks examples
- stats codeigniter
- hooks tutorial for codeigniter
- use hooks codeigniter
- codeigniter hooks 2011
- codeigniter how to use hooks




