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
GeoIP2 plugin issue in Matomo #16444
Comments
Can you try updating to Matomo 3.13.1 or later? |
Updating Matomo to 3.14 should actually solve that issue. The detected
location seems to have changed in a newer release of the geoip2 database.
We have already changed that check when integrating support for db-ip.
If updating is not possible in your case you may need to adjust the code
manually...
|
Yes, we will update when it is only the solution. Thanks for the suggestion. |
Thanks for the answer, Will take time to update. Meanwhile if we need to change the code manually, can you suggest the process where & what we need to change ? |
Hello, There is one more issue, we are not sure exactly relates to Matomo or GeoIP plugin. For example in my team 2 colleges are there but working from different locations, i am from India & he is from Poland. He is in another network & i am from different. Please help us to find the cause for this. |
@revathi-muthana123 I suggest you get in touch directly with MaxMind regarding your last two comments. Maybe they can help you. It's possible their database simply doesn't have the data for that IP. I'll close the issue for now as I understand the issue is fixed in a newer version. Let us know if updating didn't help @revathi-muthana123 and we'll be happy to reopen. Thanks |
@revathi-muthana123 have you configured a geo IP provider see https://matomo.org/docs/geo-locate/ |
Hello @tsteur Yes, we configured in the same way & we tried different methods as well but still it's not resolving that issue. It is pointing to the same "united states" location. We suspect that it is a bug in Matomo. We tried Geolite2 City & Country Databases as well. Is there anything else to be configured, why because ISP Provider & Org Provider both are showing unknown. Can you help on this, as it is blocking us. |
@revathi-muthana123 if it's blocking you, you might want to consider looking into our support subscriptions https://matomo.org/support-plans/ since in these cases where things aren't quite obvious what is happening we can't always do too much. Depending what GeoDB you use, I recommend you enter your IP address into their online tool to see if it detects the location correctly. Eg you can visit https://db-ip.com/ or https://www.maxmind.com/en/geoip-demo If you have Matomo set up behind a proxy or similar, and it's not receiving the correct IP address, you might want to look into https://matomo.org/faq/how-to-install/faq_98/ |
Hello,
We have Matomo 3.12.0 setup on my environment. We are using GeoIP2 (php) plugin for the location tracking from visitors. but we have an issue here, some of the users are browsing from their websites & monitoring analytics. But it is showing default location as “united States” instead of original locations. I read some of the official documents like after 1.9 or later versions it is using GeoIP2 for tracking locations instead of languages. So we tried to download latest version of this plugin from Maxmind website “https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz” in the same way which we have done earlier.
Finally we found that & signed up for the account & provided license details as well. But it’s not installing properly. It’s throwing some error like " Error: Matomo tried checking the location of a known IP address (194.57.91.215), but your server returned ‘L’Ecouvotte, BFC, FR’. If this provider were configured correctly, it would return ‘Besançon, BFC, FR’.".
Please help me on this. How we can install, what are the steps we need to follow.
Thanks & Best Regards
Revathi
The text was updated successfully, but these errors were encountered: