Welcome Guest, Not a member yet? Register   Sign In
CI Piwik Analytics Library with GeoIP capability
#1

[eluser]wingdspur[/eluser]
I've been working on a Piwik Analytics library that also uses the MaxMind GeoLiteCity.dat geoip database. It's not completely finished, and needs some better documentation, but I'm already using it in my own CMS dashboard to render stats from it (see screenshot). As of right now, most of the functions are currently just making simple API method requests, decoding the JSON, and returning the array.

There is also piwik_helper which will output the piwik tracking tag js based on the settings defined in the piwik config file.

You can get the code here: http://github.com/wingdspur/codeigniter-piwik
#2

[eluser]PeterGreffen[/eluser]
wingdspur, excellent. Thank you for this!
Peter.
#3

[eluser]Bas Vermeulen[/eluser]
Sounds awesome, gonna give it a try!
#4

[eluser]wingdspur[/eluser]
Glad others might find this useful. I'll be adding some improvements soon.




Theme © iAndrew 2016 - Forum software by © MyBB