Secure Location Detection in JavaScript with pointNG

published on 03 December 2020

Pointng intro

Written by Kimmo Ihanus

pointNG is a tool that enables developers to build location-based websites with maximum privacy. It's a piece of code that you can insert into your website and then use our functions to create location-based services without the need to worry about privacy-related risks (GDPR / CCPA / Privacy Policy updates etc.).

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

How to get started with pointNG

Sign up here for a free API key, copy the installation script, and paste it before your website HTML's closing body element. After reloading the page and accepting the location permission, you'll see the result in your console.

<script src=""></script> Features

After installing pointNG to a 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 predict the user's location securely. 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 lets 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. Read more about the widget here.

Read the docs heres for more details and examples.

Read more