Module Description
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.
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.
Module Link
Project Usage
79
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
Webform IP Geo module aims to extract geo data from webform submissions using the IP address of the user.
Data Name
webform_ip_geo