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

About geolocation: give the possibility to the user to search for its IP geolocation #17355

Closed
Chardonneaur opened this issue Mar 18, 2021 · 2 comments
Labels
answered For when a question was asked and we referred to forum or answered it. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@Chardonneaur
Copy link

Currently within the geolocation plugin, the plugin directly identifies our IP address and indicate the geolocation. It would be great to have the possibility to check it for any IP address.

Summary

Add a search bar for the geolocation admin plugin screen.

  • Matomo Version: 4.2.1
@Chardonneaur Chardonneaur added the Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. label Mar 18, 2021
@sgiehl
Copy link
Member

sgiehl commented Mar 18, 2021

@Chardonneaur It's not possible to do this using the UI, but you can use the API method UserCountry.getLocationFromIP. Is that enough for you?

@Chardonneaur
Copy link
Author

This is awesome I didn't know it, thank you Stefan.
So, just using this url can give it to us: https://demo.matomo.cloud/index.php?module=API&method=UserCountry.getLocationFromIP&ip=194.57.91.215&format=xml&token_auth=anonymous
Not sure if that could be worth linking this method within the documentation. Thank you so much.

@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label Mar 21, 2021
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. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

3 participants