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

Analyze Geo Location before anomynize IP address #19831

Closed
plexmaniax opened this issue Oct 7, 2022 · 1 comment
Closed

Analyze Geo Location before anomynize IP address #19831

plexmaniax opened this issue Oct 7, 2022 · 1 comment
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@plexmaniax
Copy link

Matomo should set the geo data (flags) before anonymize the ipaddress, to prevent mismatches.

Expected Behavior

Matoma should analyze the geo data befor anomynize the ip address. It's important for reporting.

Current Behavior

At the moment matomo anomynized the ipaddress and then it decides which country belongs to this ipaddress.
That is why there was the following error

217.150.XXX.XXX has sent a request to the webserver (this IP belongs to a swiss provider)
217.150.0.0 was shown in matomo with the russian flag

So even if we had no traffic from russia, we got a report in matomo.

@plexmaniax plexmaniax added the Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. label Oct 7, 2022
@sgiehl
Copy link
Member

sgiehl commented Oct 10, 2022

Hi @plexmaniax
It should actually be possible in the privacy settings to configure if Matomo should use the anonymized IP address for geolocation or not. So changing that should fix your problem for future visits.

@sgiehl sgiehl closed this as not planned Won't fix, can't repro, duplicate, stale Oct 10, 2022
@sgiehl sgiehl added answered For when a question was asked and we referred to forum or answered it. and removed Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. labels Oct 10, 2022
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

2 participants