@mattab opened this Issue on May 29th 2019 Member

Goal of this issue is to make our existing API UserCountry.getLocationFromIP return the geolocation information for the requesting IP address by default.

Currently, the API requires an ip parameter. Example API request

But if we make it default to the current requester IP address then it will provide some great value and open new use cases. For example some users want to customise the website's content based on the user's geolocation. So they could simply call the API for example via: https://analytics.example.comorg/?module=API&method=UserCountry.getLocationFromIP&format=json in JavaScript.

This Issue was closed on May 29th 2019
Powered by GitHub Issue Mirror