Title: Geolocation Detector for Gravity Forms
Author: David Davis
Published: <strong>27 de maig de 2016</strong>
Last modified: 10 d'agost de 2019

---

Cerca extensions

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

Aquesta extensió **no s’ha provat en les darreres 3 versions majors del WordPress**.
Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat
quan s’usa en versions recents del WordPress.

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

# Geolocation Detector for Gravity Forms

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

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

 * [Detalls](https://ca.wordpress.org/plugins/geolocation-detector-for-gravity-forms/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/geolocation-detector-for-gravity-forms/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/geolocation-detector-for-gravity-forms/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/geolocation-detector-for-gravity-forms/#developers)

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

## Descripció

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

## Captures

[⌊Advanced Settings for ipcountry⌉⌊Advanced Settings for ipcountry⌉[

Advanced Settings for ipcountry

[⌊Advanced Settings for ipcity⌉⌊Advanced Settings for ipcity⌉[

Advanced Settings for ipcity

[⌊Advanced Settings for ipprovince⌉⌊Advanced Settings for ipprovince⌉[

Advanced Settings for ipprovince

[⌊Advanced Settings for iplongitude⌉⌊Advanced Settings for iplongitude⌉[

Advanced Settings for iplongitude

[⌊Advanced Settings for iplatitude⌉⌊Advanced Settings for iplatitude⌉[

Advanced Settings for iplatitude

[⌊Advanced Settings for iptimezone⌉⌊Advanced Settings for iptimezone⌉[

Advanced Settings for iptimezone

[⌊Advanced Settings for ipcontinent⌉⌊Advanced Settings for ipcontinent⌉[

Advanced Settings for ipcontinent

## Instal·lació

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.

## Ressenyes

![](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/) 6 de gener de 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/) 30 de gener de 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/) 8 de desembre de 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/) 3 de setembre de 2016

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

 [ Llegiu totes les 4 ressenyes ](https://wordpress.org/support/plugin/geolocation-detector-for-gravity-forms/reviews/)

## Col·laboradors i desenvolupadors

«Geolocation Detector for Gravity Forms» és programari de codi obert. La següent
gent ha col·laborat en aquesta extensió.

Col·laboradors

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

[Traduïu «Geolocation Detector for Gravity Forms» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/geolocation-detector-for-gravity-forms)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/geolocation-detector-for-gravity-forms/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/geolocation-detector-for-gravity-forms/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/geolocation-detector-for-gravity-forms/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/geolocation-detector-for-gravity-forms/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 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

 *  Versió **1.0.3**
 *  Darrera actualització **fa 7 anys**
 *  Instal·lacions actives **300+**
 *  Versió del WordPress ** 4.0 o posterior **
 *  Provada fins a **5.2.28**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/geolocation-detector-for-gravity-forms/)
 * Etiquetes
 * [country ip](https://ca.wordpress.org/plugins/tags/country-ip/)[GeoIP](https://ca.wordpress.org/plugins/tags/geoip/)
   [GravityForms](https://ca.wordpress.org/plugins/tags/gravityforms/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/geolocation-detector-for-gravity-forms/advanced/)

## Valoracions

 5 sobre 5 estrelles.

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

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

[Visualitza totes les ressenyes](https://wordpress.org/support/plugin/geolocation-detector-for-gravity-forms/reviews/)

## Col·laboradors

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

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/geolocation-detector-for-gravity-forms/)