Hello!
I wrote a tutorial on using jQuery and Expression Engine 2 to build yourself a simple plugin that allows for statistics gathering. Hope you enjoy it.
The tutorial can be found over here:
http://pinktutu.biz/blog/read/creating_your_own_ee2_statistics_plugin_using_jquery
Have a great day,
Michiel.