@mattab opened this Issue on September 5th 2012 Member

Internet providers are used in Piwik to detect the user's countries. For example if the hostname is x.y.z.free.fr we know the user uses french internet connection.

However in many cases the reverse dns lookups return .net, .com. .org domains which don't give the country information. Piwik then guesses "USA" which is incorrect.

we should build a lookup tables of known providers -> countries

  • Rasana.net: iran
  • parsonline.net: iran
  • proxad.net: france
  • etc.

The list would simply be stored in a php file which would be fast for Tracker to lookup. This would be a new step in the country detection algorithm.

@mattab commented on December 14th 2012 Member

Sounds like a good idea @matt, but I have an even better idea: Use GeoIP!! (PECL or Apache for top performance)

This Issue was closed on December 14th 2012
Powered by GitHub Issue Mirror