matomo-org / matomo-log-analytics

Import any kind of server logs in Matomo for powerful log analytics. Universal log file parsing and reporting.
https://matomo.org/log-analytics/
GNU General Public License v3.0
224 stars 118 forks source link

Incorrect SharePoint Online location #356

Open germain-italic opened 1 year ago

germain-italic commented 1 year ago

Hello, we are having trouble with geolocation on our SharePoint Online classic intranet (requires login throught the portal login.microsoftonline.com).

All our visitors connect from the same VPN from multiple offices, in the same country (France).

But tracked visits are spawned accross all over the world and all continents (EU 60%, 30% North America, Asia, India...).

We cannot use TrackingSpamPrevention as I understand that it would block all traffic tied to Microsoft/Azure, so there would be no more tracking.

We have tried to block IPs from the official MS list but we have seen no change.

We are thinking of banning referrers from login.microsoftonline.com but I'm afraid this would cut all legitimate users.

Have your ever encountered this issue, is there any workaround?

sgiehl commented 1 year ago

Hey @germain-italic I'm not fully sure what your real problem is. Are there requests being tracked from users that shouldn't be tracked? Or are unsers connected through vpn tracked with an incorrect location? The latter one could be caused by not using the correct IP for geolocation. If all users are coming though a vpn proxy, you might need to configure that in Matomo

germain-italic commented 1 year ago

Hello @sgiehl,

unsers connected through vpn tracked with an incorrect location?

This one. I'll check if I find some information about the VPN!

germain-italic commented 9 months ago

I finally got some information: there is no proxy, the VPN allocates the expected public IP address which is geolocated accurately. So we are still having ghosts located in USA on this intranet which is only open to people using the VPN, and who were not showing up when we used Google Analytics. I'm stuck.