Customize Your Website With Visitor
IP Geolocation Data

Automatically get visitor country, state, city, latitude & longitude using IP geolocation API. Utilize location data for advanced website customization and location based personalization.

Get started in minutes + No credit card required
ip geolocation api

Trusted by global & multi-regional brands worldwide

Easy to use IP Geolocation JavaScript API

Just drop in our JavaScript code and get access to visitor location data using simple JavaScript variables.

Get visitor country, state, city, latitude & longitude

Our Geo Location API provides visitor country name, country code, state name, state code, city name, IP address, latitude & longitude data.

Use IP geolocation data to automatically center maps

Use visitor latitude & longitude data to auto position and center maps. Useful for displaying nearest store locations.

Display visitor geolocation in website content

Use our ready made location classes to display visitor location information any in any sentence or paragraph.

Auto fill form elements with geolocation data

Use location data and JavaScript to auto select drop downs and auto populate form input boxes with location information.

Explore our Geo Location feature set

Country Name & Country Code

Get visitor country name and two letter ISO country code from our Geo Location data. Country detection accuracy is around 99%.

State Name & State Code

Get visitor state name and ISO state code. This can be similar to regions in certain countries. State detection accuracy is around 80%.

City Name

Get visitor major city name. This city detection will point to the major city the visitor is located in and not any minor suburbs or counties.

Latitude & Longitude

Latitude and longitude data that points to the center of the major city where the visitor is located will be provided as coordinates.

One-time JavaScript code install

Simple one-time code install into your website. Once code is installed, all location data becomes available via JavaScript functions & HTML classes.

Geolocation data JavaScript functions

Use our prodvided JavaScript functions that output location data. Assign your own JavaScript variables to these functions.

Geolocation data HTML class names

HTML classes are provided for each datapoint that can be directly used in HTML to display the data. Useful for easily displaying location data.

Supported by a range of CMS & web platforms

Our code can be added to almost any HTML website including a range of popular CMS & e-commerce platforms.

Learn more about Geo Location

How does Geo Location work?

Our Geo Location product works by auto detecting your website visitors geolocation using their IP address and making location data such as country, country code, state, state code & city available in your website via JavaScript variables and HTML classes.

What is the location accuracy of the Geo Location product?

IP geolocation has the following approximate accuracies: country (99%), state (90%), city (80%). The accuracy can vary in different countries and with mobile/desktop devices.

Is browser permission required before visitor location data is available?

We use IP geolocation technology to detect visitor location. Hence no browser permission is required from the visitor as their IP address is used to derive an approximate and not exact location.

Does Geo Location work for IPV6 addresses?

Yes our Geo Location product and all other products support both IPV4 and IPV6 addresses.

Does an IP geolocation database need to be installed?

Our Geo Location product and all other products do not require installation of any IP location databases. Our products use JavaScript to obtain visitor location data by making a request from your visitor's browser to our server.

Powering geo personalization for SMBs & enterprises

Enterprise IP geolocation accuracy
99.9% uptime + low latency
50M + personalization events per month

What people are saying about us

Compatible with leading CMS & eCommerce platforms

“Easy to Implement and Fantastic Service”

Shawn B.
Get started in minutes
No credit card required
Free on-boarding support

The Geo Targetly website uses cookies to make your online experience easier and better. By using our website, you consent to our use of cookies. For more information, see our Cookie Policy.