matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.91k stars 2.65k forks source link

Piwik 3.0.2: Geolocation from server misses some city and ISP data #11582

Closed iprok closed 6 years ago

iprok commented 7 years ago

I have nginx with geoip module. I've set it up using https://piwik.org/faq/how-to/#faq_166 . I see that it's working in Admin Page -> Geolocation. I use commercial MaxMind databases with ISP. It shows me correct information about my Country, City, ISP, Organization in Admin Page -> Geolocation . I've surely turned on GeoIP (server module) and saved my settings.

The problem is that in live users widgets it sometimes miss City information (all IPv6 and some IPv4) (I get IP of missed users and check in the maxmind DB that I have - it surely exist there: both IPv6 and IPv4) and I have no ISP information at all!

iprok commented 7 years ago

I have turned off "hide visitor IP" setting.

mattab commented 7 years ago

For the ISP information please see: https://piwik.org/faq/how-to/faq_180/

Could you paste here example of IPs and how they got geo located wrong and what exist in the maxmind db?

iprok commented 7 years ago

faq_180 has link to https://piwik.org/faq/how-to/#faq_166

For now I have only problem with ISP information. I have correctly set this $_SERVER variables:

GEOIP_ADDR
GEOIP_COUNTRY_CODE
GEOIP_COUNTRY_NAME
GEOIP_CITY
GEOIP_ORGANIZATION
GEOIP_ISP

For example: I got from Admin Page -> Geolocation: Org: Hurricane Electric ISP: Hurricane Electric

But in all statistics I just got russian (I have russian locale) word "Провайдер" (meaning "ISP") instead of correct ISP name.

sgiehl commented 6 years ago

closing this. We now have a working GeoIP2 implementation and GeoIP (Legacy) is deprecated