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
Providers 100% Unknown When Using Webserver Logs, Works when Using Javascript Tracking? #17486
Comments
Hi @mddvul22, can you look for an IP that is both in your log file and in your Matomo database and see if the provider is geolocated successfully in the maxmind demo: https://www.maxmind.com/en/geoip-demo? Can you also make sure the IP isn't anonymized in any way in the log files? |
Hi @diosmosis Here is an example: at approximately 23:19:41, last night, we had a visit from the IP address 67.225.10.219. Here is how log analytics shows that visit, with no provider shown: Here is the geoip lookup results for that IP: And, for the purposes of our troubleshooting this issue, we have completely disabled IP anonymization, as you can see here: Finally, here are screenshots of the Providers overviews, from the Locations tabs. First is the website with javascript tracking: And, for comparison, the same website with log analytics tracking: Thanks! |
Hi @mddvul22 Looking up the provider is disabled by default when importing visits. This was initially implemented to prevent reverse dns lookups to identify the provider. You can disable that default by setting the |
Thank you! I've added --enable-reverse-dns to our import command and will run the import with that, tonight. Thanks! |
This worked. Thanks! |
We are using the free Maxmind GeoLite2-City database with our Matomo install. Our Matomo install is mainly using a nightly import of Apache logs for the majority of the websites being used with our Matomo. For every one of these sites, when you click on Vistors->Locations, and scroll down to Providers, it states that 100% are "Unknown".
However, we have configured one of our websites in Matomo twice: one is using log analytics, and the other is using javascript tracking -- but they are the same URL.
We have found that for the version using javascript tracking, the Provider details work. It is only on the sites using log analytics that Provider is 100% unknown. Do the provider details require javascript tracking? Or is something wrong in our configuration?
Expected Behavior
Since the visitor IP address should be available to Matomo through both methods, I would expect that Provider details wouldn't be dependent upon the javascript tracking.
Current Behavior
It appears that it is dependent upon javascript tracking.
Your Environment
The text was updated successfully, but these errors were encountered: