04 1 / 2012

Codeigniter Google Analytics Library

So another day has gone and today was spent creating a codeigniter google analytics class. I started by going to google and downloading some client libraries.

http://code.google.com/apis/analytics/docs/gdata/v3/gdataLibraries.html

Which by the way google, the library is horrible.

So did some hunting around the web and found this

https://github.com/ronan-gloo/Codeigniter-Google-Analytics-library

A outdated codeigniter library. So with a little tweaking I got it to work for codeigniter 2.0 I havent posted the class on gist yet because im still going through it and getting it to a much better state before releasing the code. So look out.

Once I get this wrapped up I might be looking at the adwords api next. Goal is to make an awesome customized analytics dashboard for clients.

Here is the class ive adjusted for ci 2.0

https://github.com/chonthu/Codeigniter-Google-Analytics-Class