Google Analytics runs in parallel with default settings.
I attached today’s report of the visitor locations. Matomo and Google Analytics.
Matomo and Google Analytics report completely different visitor geo locations.
We know from the traffic we send to the test server that Google Analytics is more accurate about the geographic location of the visitor to the country.
What are we doing wrong? Settings at Matomo? Is Maxmind’s GeoLite2 database so bad?
I noticed the same thing! I am using a commercial version of MaxMind Database (MMDB file), and there are huge differences between what MaxMind is saying and how it looks in Google Analytics.
Has anyone found a solution? Any hints?
For example, these requests are 100% from France when using MaxMind, but GA shows it like this:
Nope, no solution for that. I was forced to write my own software solution using Google Analytics Live API and some PhantomJS + PHP + MySQL backend. Took a while. Right now i can check any IP as long as i can send traffic from it. No idea how to check IPs that i don’t control.
Interesting, thanks for your reply. I am using Maxmind GeoLite country database which shows a lot of incorrect country entries. It’s a pity. Just curious how good Maxmind commercial version behaves against GA
Google’s location is based on a kind of anycast mechanics.
An IP database is another approach that is not comparable.
I would prefer anycast mechanics in the first place, before I enrich that with an IP database.
As far as I know, Google Analytics has no public Geo-Location-API(Any updates?).
Cloudflares “HTTP_CF_IPCOUNTRY” HTTP header is a possible anycast based source, but unfortunately my Matomo installations never made it. Except in the preview of the location provider - see screenshot. If I activate the cloudflare provider, then the geo-location is suddenly all “USA”.