Title: Geolocation Detector for Gravity Forms
Author: David Davis
Published: <strong>May 27, 2016</strong>
Last modified: August 10, 2019

---

Search plugins

![](https://ps.w.org/geolocation-detector-for-gravity-forms/assets/banner-772x250.
jpg?rev=1425257)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/geolocation-detector-for-gravity-forms/assets/icon-256x256.
png?rev=1425252)

# Geolocation Detector for Gravity Forms

 By [David Davis](https://profiles.wordpress.org/dcgws/)

[Download](https://downloads.wordpress.org/plugin/geolocation-detector-for-gravity-forms.1.0.3.zip)

 * [Details](https://sna.wordpress.org/plugins/geolocation-detector-for-gravity-forms/#description)
 * [Reviews](https://sna.wordpress.org/plugins/geolocation-detector-for-gravity-forms/#reviews)
 *  [Installation](https://sna.wordpress.org/plugins/geolocation-detector-for-gravity-forms/#installation)
 * [Development](https://sna.wordpress.org/plugins/geolocation-detector-for-gravity-forms/#developers)

 [Support](https://wordpress.org/support/plugin/geolocation-detector-for-gravity-forms/)

## Description

Provides a dynamic country detection for Gravity Forms . Requires GeoIP Detect Plugin.

#### Features

 * Provides a new Advanced Field named “Geolocation”
 * Creates 5 new filters, ipcountry, ipprovince, ipcity, iplongitude, iplatitude,
   iptimezone
 * Integrates with WordPress MU
 * Important: Gravity Forms (https://www.gravityforms.com) and GeoIP Detection (
   https://wordpress.org/plugins/geoip-detect/) should be installed and activated
   in order to use this plugin.

### Help

Please contact at us http://dcgws.com/contact/ for any question

## Screenshots

 * [[
 * Advanced Settings for ipcountry
 * [[
 * Advanced Settings for ipcity
 * [[
 * Advanced Settings for ipprovince
 * [[
 * Advanced Settings for iplongitude
 * [[
 * Advanced Settings for iplatitude
 * [[
 * Advanced Settings for iptimezone
 * [[
 * Advanced Settings for ipcontinent

## Installation

Follow the steps below to install the plugin.

 1. Upload the gf-country-detector directory to the /wp-content/plugins/ directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Add the Hidden fields as seen in screenshots.

## Reviews

![](https://secure.gravatar.com/avatar/ef39df7f116d3406325c4ffb8054e76b41ad95ccd0c4c7ca2d91bc0bda751e6f?
s=60&d=retro&r=g)

### 󠀁[Excellent functionality and customer service](https://wordpress.org/support/topic/excellent-functionality-and-customer-service-3/)󠁿

 [papyrusdoc](https://profiles.wordpress.org/papyrusdoc/) January 6, 2021

This extension to Geo my WordPress was exactly what we were looking for and provides
very flexible ways to enable geolocation on the front end. I needed assistance with
a usage beyond the core of the plugin and the author was extremely helpful.

![](https://secure.gravatar.com/avatar/7fc6e69d3e2f39006ef139170019da7e58096c5f8b6175e5753e0629a382aa28?
s=60&d=retro&r=g)

### 󠀁[Great job](https://wordpress.org/support/topic/great-job-750/)󠁿

 [wisdomtree](https://profiles.wordpress.org/wisdomtree/) January 30, 2019

This little plugin provides a great add on to the gravity forms system allowing 
country and city to be extracted from the IP address. I use this now on all of my
forms in hidden fields to automatically assign leads to the correct salesperson 
and to also identify SPAM leads coming from Russia or other countries where we don’t
operate. Using gravity forms conditions, you can even stop form submissions being
passed to your CRM or even saving in the WP database. Great job.

![](https://secure.gravatar.com/avatar/ed24c199f9b562f623d660f8b4b005bbea1af38b79a1ed1c6384e4d968004d87?
s=60&d=retro&r=g)

### 󠀁[Useful bit of code, appears to work as advertised, even with 5.0](https://wordpress.org/support/topic/useful-bit-of-code-appears-to-work-as-advertised-even-with-5-0/)󠁿

 [navigating21](https://profiles.wordpress.org/navigating21/) December 8, 2018

Thought I would be review #2, as David deserves acknowledgement for this. The sparse
documentation is somewhat unclear and would likely confuse a few folks, so it would
be good to clarify that the key dependency plug in is the YellowTree (Benjamin Pick)
GeoIP Detection, which can be found here: https://wordpress.org/plugins/geoip-detect/
That’s the plugin that interacts with the Maxmind GeoIP2 free lookup table. David’s
work here is super handy for picking up the country/city (or just the IP address
if the city is intentionally obscured) on user submissions of Gravity Forms. Simple,
does one thing as stated and thus far (still testing with WP 5.0) appears not to
cause any conflicts 5 stars Good stuff David.

![](https://secure.gravatar.com/avatar/6d6f9c1d85929dcf9fcd4ec867a15802bd821bb23c8a8a99be9659fe3b976b1e?
s=60&d=retro&r=g)

### 󠀁[Works as expected](https://wordpress.org/support/topic/works-as-expected-230/)󠁿

 [David Davis](https://profiles.wordpress.org/dcgws/) September 3, 2016

Provides a dynamic country detection for Gravity Forms . Requires GeoIP Detect Plugin.
Works as expected.

 [ Read all 4 reviews ](https://wordpress.org/support/plugin/geolocation-detector-for-gravity-forms/reviews/)

## Contributors & Developers

“Geolocation Detector for Gravity Forms” is open source software. The following 
people have contributed to this plugin.

Contributors

 *   [ David Davis ](https://profiles.wordpress.org/dcgws/)

[Translate “Geolocation Detector for Gravity Forms” into your language.](https://translate.wordpress.org/projects/wp-plugins/geolocation-detector-for-gravity-forms)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/geolocation-detector-for-gravity-forms/),
check out the [SVN repository](https://plugins.svn.wordpress.org/geolocation-detector-for-gravity-forms/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/geolocation-detector-for-gravity-forms/)
by [RSS](https://plugins.trac.wordpress.org/log/geolocation-detector-for-gravity-forms/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.3

*Enhancement
 * Added ipcontinent

#### 1.0.2

 * Enhancements
    - Added ipprovince
    - Added iplatitude
    - Added iplongitude
    - Added iptimezone

#### 1.0.1

    ```
    * Bug Fixes
        * Updated to be compatible with latest version of GeoIP Detect
    ```

#### 1.0.0

    ```
    * Initial Commit
    ```

## Meta

 *  Version **1.0.3**
 *  Last updated **7 years ago**
 *  Active installations **300+**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **5.2.24**
 *  Language
 * [English (US)](https://wordpress.org/plugins/geolocation-detector-for-gravity-forms/)
 * Tags
 * [country ip](https://sna.wordpress.org/plugins/tags/country-ip/)[GeoIP](https://sna.wordpress.org/plugins/tags/geoip/)
   [GravityForms](https://sna.wordpress.org/plugins/tags/gravityforms/)
 *  [Advanced View](https://sna.wordpress.org/plugins/geolocation-detector-for-gravity-forms/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/geolocation-detector-for-gravity-forms/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/geolocation-detector-for-gravity-forms/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/geolocation-detector-for-gravity-forms/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/geolocation-detector-for-gravity-forms/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/geolocation-detector-for-gravity-forms/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/geolocation-detector-for-gravity-forms/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/geolocation-detector-for-gravity-forms/reviews/)

## Contributors

 *   [ David Davis ](https://profiles.wordpress.org/dcgws/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/geolocation-detector-for-gravity-forms/)