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

Country unknown while getting hit from mobile #16011

Open
ashi2445 opened this issue Jun 2, 2020 · 3 comments
Open

Country unknown while getting hit from mobile #16011

ashi2445 opened this issue Jun 2, 2020 · 3 comments

Comments

@ashi2445
Copy link

ashi2445 commented Jun 2, 2020

Hi,
Country is showing unknown while hit coming from iOS and android. IP is always showing 192.168.xx.xx . but in case of web we are getting country us with same IP. i already activated geoip2 php as given in link https://matomo.org/docs/geo-locate and also change in config according to #11563 (comment). but not getting country

@tsteur
Copy link
Member

tsteur commented Jun 2, 2020

The IP 192.168.X.X is a local IP. Maybe your Matomo is behind a proxy or so? Then check out https://matomo.org/faq/how-to-install/faq_98/

@ashi2445
Copy link
Author

ashi2445 commented Jun 2, 2020

but country is showing unknown while from web we are getting country us

@Findus23
Copy link
Member

Findus23 commented Jun 2, 2020

@ashi2445 If Matomo has no way to detect the country via Geolocation (as in this case) it tries to guess the country via the browser language (English -> USA).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants