owa-php-sdk
owa-php-sdk copied to clipboard
Geolocation not tracked
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.
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
Possibly need to enable Maxmind GeoIP in OWA > Settings > Modules.