@ThaDafinser opened this Issue on October 13th 2014 Contributor

i just found http://geocoder-php.org/Geocoder/ https://github.com/geocoder-php/Geocoder

It comes with many GeoIP adapters, which could directly be used by Piwik instead of the custom implementation: https://github.com/piwik/piwik/blob/master/plugins/UserCountry/LocationProvider/GeoIp.php

If a replacement would happen, this would be a good point that the administration GUI is also changed, to list all available GeoIP sources and order them by priority. (see using Using The ChainProvider)

@ThaDafinser commented on October 19th 2015 Contributor

I created a prototype to replace the current UserCountry or as a seperate plugin...needs to be decided later...

New features:

  • unlimited providers (with a chain provider)
  • define provider priority
  • BrowserLocale is now also a provider and not an extra option
  • based on GeoCoder which haves a lot of other providers

see https://github.com/ThaDafinser/Piwik-GeoIpChain

Please provide some feedback here, or at the repo...thx :smile:

//cc @mattab

@sgiehl commented on October 19th 2015 Member

+1 for the idea to improve geolocation. I like the idea of using kind of detection chain to improve results.

@ThaDafinser commented on October 20th 2015 Contributor

@sgiehl it's also required if you want to easily track and geolocate intranet and internet traffic at the same time.

Currently u could use the builtin plugin + https://github.com/ThaDafinser/Piwik-IntranetGeoIP but it's not so easy for enduser

Powered by GitHub Issue Mirror