I could’ve sworn I had just upgraded Piwik, but I didn’t. I’ve upgraded now to 1.5. During the install I had to upgrade my database and it disabled the GeoIP plugin for some reason. I reactivated it.
GeoIP is version 0.17.
Now whenever I browse to that URL, I get the following errors.
Fatal error: Cannot redeclare geoip_country_code_by_name() in /home/riispiwi/public_html/plugins/GeoIP/libs/geoip.inc on line 347
Fatal error: Undefined class constant 'PRIMARY_TYPE_NUM' in /home/riispiwi/public_html/libs/Zend/Session/SaveHandler/DbTable.php on line 522
For whatever reason it’s logging everything correctly.
Only problem now is that it’s showing the exact cities my traffic is coming from and I don’t know what state they’re coming from. Is there any way to display City, ST in that format or just which state the traffic is coming from?
Good news: GeoIP is now integrated in Piwik, enabling Accurate Visitors Geolocation in your Analytics reports. To enable GeoIP go to the Settings > Geolocation admin page, and follow the short instructions.