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.