Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When not using GeoIP, use Providers list to better guess countries #3358

Closed
mattab opened this issue Sep 5, 2012 · 1 comment
Closed

When not using GeoIP, use Providers list to better guess countries #3358

mattab opened this issue Sep 5, 2012 · 1 comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.

Comments

@mattab
Copy link
Member

mattab commented Sep 5, 2012

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
Copy link
Member Author

mattab commented Dec 14, 2012

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

@mattab mattab added this to the Future releases milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it.
Projects
None yet
Development

No branches or pull requests

1 participant