
The latest version of WPMUDEV’s Pop Up plugin is out with a very cool new feature: the ability to show pop ups (or not) depending on the visitor’s country.
While the plugin was already loaded with features, the ability to segment audience by country is a game-changer for those who could benefit from catering to different visitors around the world in different ways. Here are a few examples of what’s possible with this new feature:
- Show a pop up only to visitors from the U.S. but no one else.
- Show a pop up to only visitors from the U.S. and Canada but no one else.
- Show one pop up to visitors from the U.S. and Canada, but show a different pop up to visitors from the U.K. and yet another pop up to visitors from Australia. Show everyone else either a completely different pop up or no pop up at all.
- Show a pop up to visitors from every country around the world except visitors from the U.S. and Canada.
Have the wheels in your head started turning yet?
Take a look at the country function in action.

Here is the complete list of upgrades and fixes in the new version:
- Added Geo IP rules to allow restriction of popover showing based on visitors country (using hostip.info’s API)
- Added IP cache so that the API isn’t hit repeatedly for the same IP address
- Added configuration option to allow the API used to be changed easily.
- Added configuration option to allow defaulting to a specific country if the API is down.
- Fixed IE bug that left dark background in place when dismissing popover.
- Fixed issue with internal referrals condition when domain mapping is active on a blog.
If you haven’t yet checked out the pop up plugin, you really should. It’s packed with controls that will let you do practically anything you like. Along with controlling how, when, and where the pop up displays, the plugin lets you show a pop up (or not) based on the following conditions:
- If the visitor is logged in
- If the visitor isn’t logged in
- If the visitor has never commented
- If the visitor came from a search engine
- If the visitor came from an external link
- If the visitor came from a specific referrer
- If the visitor has already seen the pop up X-number of times
- If the visitor is on a specific URL
- If the visitor is not on a specific URL
- If the visitor is in a specific country
- If the visitor is not in a specific country
And here’s a look at the display controls.

You can download the new version on its homepage.
Featured Plugin - WordPress Facebook Plugin
Photo: World map from BigStock

This is nice. Since you already have the geotargetting code ready, one useful plugin would allow using shortcodes to change parts of your posts to specific countries…
Hi guys, not sure that the country specific rules are set up but it currently doesn’t seem to work for Australia, UK and quite a few others that I’ve tested. Any tips?
Hi Matthew – Thanks for the heads up. Do you mind starting a thread for this in the Support Community (http://premium.wpmudev.org/forums/)?
This will make it easier for developers to dig into it deeper and get some back and forth going on it. If it comes up in the Support area, then you should see some action on it pretty quickly.
Thanks