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

---

Søg plugins

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

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

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

# Geolocation Detector for Gravity Forms

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

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

 * [Detaljer](https://da.wordpress.org/plugins/geolocation-detector-for-gravity-forms/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/geolocation-detector-for-gravity-forms/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/geolocation-detector-for-gravity-forms/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/geolocation-detector-for-gravity-forms/#developers)

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

## Beskrivelse

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

## Skærmbilleder

[⌊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

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

## Anmeldelser

![](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. januar, 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. januar, 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. december, 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. september, 2016

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

 [ Læs alle 4 anmeldelser ](https://wordpress.org/support/plugin/geolocation-detector-for-gravity-forms/reviews/)

## Bidragsydere & udviklere

“Geolocation Detector for Gravity Forms” er open source-software. Følgende personer
har bidraget til dette plugin.

Bidragsydere

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

[Oversæt “Geolocation Detector for Gravity Forms” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/geolocation-detector-for-gravity-forms)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/geolocation-detector-for-gravity-forms/),
tjek [SVN repository](https://plugins.svn.wordpress.org/geolocation-detector-for-gravity-forms/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/geolocation-detector-for-gravity-forms/)
via [RSS](https://plugins.trac.wordpress.org/log/geolocation-detector-for-gravity-forms/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 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**
 *  Senest opdateret **7 år siden**
 *  Aktive installationer **300+**
 *  WordPress-version ** 4.0 eller højere **
 *  Testet op til **5.2.24**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/geolocation-detector-for-gravity-forms/)
 * Tags
 * [country ip](https://da.wordpress.org/plugins/tags/country-ip/)[GeoIP](https://da.wordpress.org/plugins/tags/geoip/)
   [GravityForms](https://da.wordpress.org/plugins/tags/gravityforms/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/geolocation-detector-for-gravity-forms/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

 *  [  4 5-stjernet anmeldelser     ](https://wordpress.org/support/plugin/geolocation-detector-for-gravity-forms/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/geolocation-detector-for-gravity-forms/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/geolocation-detector-for-gravity-forms/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/geolocation-detector-for-gravity-forms/reviews/?filter=2)
 *  [  0 1-stjernet anmeldelser     ](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)

[Se alle anmeldelser.](https://wordpress.org/support/plugin/geolocation-detector-for-gravity-forms/reviews/)

## Bidragsydere

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

## Support

Har du noget at sige? Har du brug for hjælp?

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