Articles on: How Tos

How to use Geo Pro API

Our app creates a global easylocation.locationData object with location information, you may access it this way:


window.easylocation.locationData


For example, to get the customer's country name in English a code like this can be used:


var country = window.easylocation.locationData.country.names.en;


The direct API URL is: https://geo.geoproapp.com/********* , the asterisks have to be replaced by the API key from the network tab in the developer console.

Updated on: 19/02/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!