Skip to content
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

Geolocation not tracked #18

Open
wernight opened this issue Feb 8, 2024 · 2 comments
Open

Geolocation not tracked #18

wernight opened this issue Feb 8, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@wernight
Copy link

wernight commented Feb 8, 2024

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 wernight added the bug Something isn't working label Feb 8, 2024
@wernight
Copy link
Author

wernight commented Feb 8, 2024

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
Copy link
Author

wernight commented Feb 8, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant