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

Exact location of IP address is not deducted correctly #9243

Closed
mstsolutions1 opened this issue Nov 20, 2015 · 3 comments
Closed

Exact location of IP address is not deducted correctly #9243

mstsolutions1 opened this issue Nov 20, 2015 · 3 comments
Assignees
Labels
answered For when a question was asked and we referred to forum or answered it.
Milestone

Comments

@mstsolutions1
Copy link

Actually i viewed a website from in india that is not deducted properly. My ip address belongs to india but in report, i can see US flag and different IP address.
ipadress
ip1

@ieperlingetje
Copy link

It looks like the two last octets are removed for privacy reasons: https://piwik.org/docs/privacy/#step-1-automatically-anonymize-visitor-ips . That's also the reason I think why the geolocation fails.

@RMastop
Copy link
Contributor

RMastop commented Nov 20, 2015

Looking at the data provided in the screenshot, no geolocation plugin is activated, or no geo location database is called while tracking.

By default piwik uses the language setting of the browser to decide what country to add in stats.

Thinking of it, it's actually kinda weird to do it like this.
There shouldn't be any country reported based on language settings.

Guess that would break some of the reports, but I think it is better to not report a country, than faking it.

One could fix these reports by using a geolocation database and connect it to the plugin.

How to do this? Check the following page:
http://piwik.org/docs/geo-locate/

@tsteur
Copy link
Member

tsteur commented Nov 22, 2015

Guess that would break some of the reports, but I think it is better to not report a country, than faking it.

+1 one for that. I created a new issue for this here: #9251

I will close this issue as it looks like either "IP anonymization is enabled and the anonymized IP is used for geo location" or no GEO provider is installed as @RMastop pointed out see http://piwik.org/docs/geo-locate/

@tsteur tsteur closed this as completed Nov 22, 2015
@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label Nov 22, 2015
@tsteur tsteur added this to the 2.15.1 milestone Nov 22, 2015
@tsteur tsteur self-assigned this Nov 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

4 participants