owa-php-sdk icon indicating copy to clipboard operation
owa-php-sdk copied to clipboard

Geolocation not tracked

Open wernight opened this issue 1 year ago • 2 comments

Affected Version(s): 1.0.8

PHP Version: 8.2 FPM

Webserver: Nginx

Browser: N/A

Description

The tracked page view events do not have a Geolocation set and there is no documentation on this repro about how to track it.

How to reproduce

Follow basic page tracking.

Possible Solution

Some PHP libraries allow getting the location from the IP. OWA-PHP-SDK probably shouldn't force the usage of one of such libraries but should rather offer and explain how to track Geolocation using such a library.

wernight avatar Feb 08 '24 14:02 wernight

Actually OWA has a Geo from IP function so either:

  • The IP isn't passed through
    • The geo-resolution isn't set up
  • The geo-resolution used isn't good enough

wernight avatar Feb 08 '24 14:02 wernight

Possibly need to enable Maxmind GeoIP in OWA > Settings > Modules.

wernight avatar Feb 08 '24 15:02 wernight