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

(Matomo) City Not saving on database #13495

Closed
retsie opened this issue Sep 28, 2018 · 6 comments
Closed

(Matomo) City Not saving on database #13495

retsie opened this issue Sep 28, 2018 · 6 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@retsie
Copy link

retsie commented Sep 28, 2018

I have GeoLite2-City.mmdb on misc folder..
Country is saving but city is not..
There is any additional configuration to make city saving to database?

city

@retsie retsie changed the title City Not saving on database (Matomo) City Not saving on database Sep 28, 2018
@sgiehl
Copy link
Member

sgiehl commented Oct 1, 2018

Which location provider did you choose in Matomo admin? It needs to be set to GeoIP 2 in order to work.

@retsie
Copy link
Author

retsie commented Oct 4, 2018

Which location provider did you choose in Matomo admin? It needs to be set to GeoIP 2 in order to work.

I already used geoIp 2 dude with GeoLite2-City.mmdb database.

Currently I using only local dev. (docker environment)

@sgiehl
Copy link
Member

sgiehl commented Oct 4, 2018

Is the location provider able to detect any cities or regions? What result do you get when calling this API method on your instance:
path.to.matomo/index.php?module=API&method=UserCountry.getLocationFromIP&ip=67.51.31.21&format=JSON&token_auth=your_token_auth

@retsie
Copy link
Author

retsie commented Oct 4, 2018

Is the location provider able to detect any cities or regions? What result do you get when calling this API method on your instance:
path.to.matomo/index.php?module=API&method=UserCountry.getLocationFromIP&ip=67.51.31.21&format=JSON&token_auth=your_token_auth

Country and continent only

geoip2 already selected
geo

@sgiehl
Copy link
Member

sgiehl commented Oct 4, 2018

then the location provider doesn't work correctly. is the location provider reported as working when navigating to geo location settings in Matomo admin?

@retsie
Copy link
Author

retsie commented Oct 12, 2018

then the location provider doesn't work correctly. is the location provider reported as working when navigating to geo location settings in Matomo admin?

Ill just purchased google cloud platform and geolocation is working properly.
Thanks dude..

@sgiehl sgiehl added the answered For when a question was asked and we referred to forum or answered it. label Dec 4, 2018
@sgiehl sgiehl closed this as completed Dec 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants