The IP2Location Data Connector uses IP2Location's Geolocation API to determine the geographical location of users based on their IP addresses.
Depending on your IP2Location Plan, the information that can be determined includes the user's country, region, district, city, latitude & longitude, ZIP code and time zone.
Once installed and added to a Form, you can access this Data Connector in the Form's server event scripts using: connectors.verjio.ip2location
.
ip2location.query
retrives geolocation information for an IP address.
Code example:
var location = connectors.verjio.ip2location.query('8.8.8.8');
For comprehensive information on how to use and develop applications with this Data Connector please refer to the Support section.
The Installation section has instructions on installing it into your Workspace.
Complete JavaScript API documentation for this Data Connector can be found in the Documentation section.