ThaDafinser / Piwik-IntranetGeoIP

Piwik plugin to locate all locale data of a user based on the IP address/subnetwork (country, region, city, latitude, longitude, provider, ...)
MIT License
23 stars 14 forks source link

Intranet Geo IP plugin does not track correctly #42

Open nanand1806 opened 5 years ago

nanand1806 commented 5 years ago

Hello, I am using matomo(version: 3.11.0) for intranet website on premises on VM running with OS Windows server 2012 R2. My question is regarding geo loctaion tracking and for this purpose i am using plugin called “Intranet Geo IP” But still I could see most of the visitors logs are unknown. I have also configured IntranetGeoIP.data.php with our networks IP. Could you please help me to get the visitor logs with accurate region ( country,city). DB :- My SQL (version: 5.5.49) PHP :- version: 7.3.1

Awaiting for your help on this.

wolf404 commented 4 years ago

as stated in the readme: the region codes are stored in piwik/libs/MaxMindGeoIp/geoipregionvars.php - you have to figure out by yourself which location is in which region and insert the code manually. If your IP subnets are not assigned to individual locations you are stuck somehow....

For a proper map display you need location_country, location_region and the lat/lon values, location_city naming is completely up to you.