Webform IP Geo provides a simple way to extract geo data from the IP of a webform submission.

The module provides a new "hidden" field to be added to webforms. Upon submission of the webform, the module will use the submission IP to get geo data via a 3rd party API. After that it will replace the tokens in the webform field with the retrieved data.

The module ships with a submodule which is a provider plugin for the https://ipapi.co/ API.
The goal of this module is to be as flexible as possible for other developers to add their own provider plugins. 3rd party APIs at times require access/api tokens to remove limits or to provide more accurate data. The submodule can be used as a template on how to quickly add a new provider plugin.

Supporting organizations: 
sponsors the development and maintenance

Project information

Releases