WordPress plugin intelligence profile

WP Engine GeoTarget

Create a personalized user experience based on location.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.7
Current version1.2.9
WordPress coverageTested up to WordPress 6.7
Minimum stackWP 3.0.1 · PHP —
Directory statusactive
Last directory update3 Feb 20251y ago
Active installations400Adoption metric — not a quality score
WordPress.org rating3.6 / 5 from 15 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records WP Engine GeoTarget version 1.2.9 as active, updated 1y ago and tested up to WordPress 6.7.

Overview

About this plugin

WP Engine GeoTarget integrates with the variables on your WP Engine site to display content catered to the visitor’s location. With the ability to access variables from as broad as country to as specific as latitude and longitude, your website can now display geographically relevant content.

Geo-Marketing

  • Create marketing campaigns targeted only at certain locations.

Localization

  • Redirect incoming traffic to content in the local language or currency.
  • Businesses with local branches can direct customers to a relevant physical location or local microsite.

Ecommerce

  • Filter out merchandise or services that are not available in a certain locale.
  • Display country-specific shipping, tax, or sales information.

Legal Requirements

  • Filter required legal notices from countries for whom those notices may not be relevant.

* Please Note *

Customers on Premium and Enterprise plans can use this plugin at no additional cost. If you are on another plan type and would like to use GeoTarget on one of your sites, you can add it to your plan here. This will not function outside of the WP Engine environment.

Location Variable Shortcodes

You can use any of the following location variable shortcodes to return the various geographic location the user is visiting your site from:

1) Continent: [geoip-continent]

2) Country: [geoip-country]

3) Region: [geoip-region]

  • In the US region will return States
  • In Canada region will return Provinces
  • Outside the US/CA this will return a Region number. Please note region numbers are not unique between countries

4) City: [geoip-city]

5) Postal Code: [geoip-postalcode]

  • This variable is only available in the US due to limitations with the location data GeoTarget uses

6) Latitude: [geoip-latitude]

7) Longitude: [geoip-longitude]

8) Location: [geoip-location]

Example

Hi, and welcome to [geoip-city]! The place to be in [geoip-region],[geoip-country].

A visitor from Austin, Texas would see the following:

Hi, and welcome to Austin! The place to be in TX, US.

Localized Content

[geoip-content country="US"]Your US specific content goes here[/geoip-content]

The content shortcode allows you to hide or show specific content based on visitor geographies:

Below are all the supported geography options, this allows to you SHOW content for only specific locations:

  • continent
  • country
  • areacode
  • region
  • city
  • postalcode

Below are all the supported negative geography options, this allows to you HIDE content for only specific locations:

  • not_continent
  • not_country
  • not_areacode
  • not_region
  • not_city
  • not_postalcode

Examples of the Content Shortcode

This will display “Content just for US visitors” strictly for visitors viewing from the United States.

[geoip-content country="US"] Content just for US visitors [/geoip-content]

This will display “Content just for everyone in Texas and California” strictly for visitors from Texas and California.

"] Content just for everyone in Texas and California [/geoip-content]

You can mix and match geography and negative geography options to create verbose logic in a single shortcode:

[geoip-content country="US" not_city="Austin"]Content for US visitors but not for visitors in Austin[/geoip-content]

Limitations

There is a single limitation in the logic that lets you filter content for multiple geographic areas.

You can progressively limit the area that content is shown in. But once your content is hidden from an area, a subset of that area can’t be added back in.

For example,

If I limit my content to Europe, then limit my content from Great Britain, I can’t go back and show it to London.

Creative Work Arounds

Limit content to some regions of a country (or some cities of a state)

You want to show an offer for free shipping to every state in the US but Alaska and Hawaii. You may be inclined to write something like

BAD

[geoip-content country="US" not_state="AK, HI"]Lorem ipsum dolor sit amet[/geoip-content]

Instead, show it to all other 48 states

GOOD

[/geoip-content]

Duplicate location names

You want to show discount airfare on a flight to Paris, France. The content should show to all of the US and France, but not Paris itself.

BAD

[/geoip-content]

The problem here is that Paris, Texas will be hidden. The solution? Just have two geoip-content shortcodes.

GOOD

[/geoip-content]

Adding an area into an omitted region

You want to show an ad written in Spanish to all of South America except for Brazil. Brasilia, however, has enough Spanish speakers that you want to include Brasilia.

BAD

[geoip-content continent="SA" not_country="BR" city="Brasilia"]Lorem ipsum dolor sit amet[/geoip-content]

GOOD

[geoip-content continent="SA" not_country="BR"]Venta de la Navidad en los adaptadores USB[/geoip-content]

[geoip-content city="Brasilia"]Venta de la Navidad en los adaptadores USB[/geoip-content]

Calculate distance between points

You have a utility function that will calculate the distance from your provided lat/lng coordinate to the visitor’s location in either miles or kilometers. This can be useful for determining approximate distances, as results may be cached at the state or country level, depending on your configuration.

Example use:

== $geo->distance_to( $latitude, $longitude ) ) { $miles_to_wp_engine = $geo->distance_to( $latitude, $longitude ); }

Testing Parameters

You can use the following URL parameters to test how your localized content will appear to visitors from various geographic locations. You can add any of the parameters below to any URL of a page using the GeoTarget shortcodes or API calls:

Spoof visitor from the state of Texas:

geoip&region=TX

Spoof visitor from the United States:

geoip&country=US

Spoof visitor from Austin, Texas

geoip&city=Austin

S. zip code 78701:

geoip&zip=78701

Please note: full page redirects and TLD redirects still need to be implemented with the necessary API calls.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • geoip
  • geotarget
  • localization
  • wpe
  • wpengine
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.7

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.7.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.7
Minimum requirementsWordPress 3.0.1 · PHP not listed
Update activity3 Feb 20251y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.