Welcome! Introduction to what is pointNG and how does it work.

pointNG is a javascript plugin that enables developers to build location-based websites with maximum privacy. It’s a piece of code that you can insert to your website and use our functions to create location-based services without the need to worry about privacy-related risks.

Unlike traditional geocoding services, pointNG does not send GPS-coordinate data to external services. It achieves this by using machine learning directly in the browser without sending coordinate-data away to servers.

The features

After installing pointNG to your website, you can use pointNG’s functions to identify your website visitor’s location. If the visitor accepts the location permission prompt, pointNG will use it’s machine learning to securely predict the user’s location based on the user's GPS-coordinates. If the visitor does not permit the use of GPS-location, by default, pointNG will use the browser’s time zone as a fallback to estimate the user’s location.

pointNG let’s you define the level you wish to detect GPS-location by using the “level” parameter.

If you wish to give the power to your users to determine the level of identification, pointNG has a user control panel that you can integrate as a widget to your website.

Below is an example installation with all the available parameters configured:

<script src=""></script>
const pointng = new PointNG({
   level: 'country',
   api_key: 'YOUR-API-KEY-HERE',
   currentWidgetPosition: 'right',
   privacyPolicyLink: 'YOUR-PRIVACY-POLICY-URL'
  pointng.getLocation().then(function(prediction) {

Last updated