OptinMonster Documentation

Documentation, Reference Materials, and Tutorials for OptinMonster



How to Use OptinMonster’s Geo-Location Rule for Advanced Lead Targeting

How to Use OptinMonster’s Geo-Location Rule for Advanced Lead Targeting

Are you looking to show or hide campaigns to visitors in specific physical locations? OptinMonster makes it easy to target campaigns to visitors who are physically located in a specific region, from as big as a country to as small as a particular city. Highly targeted campaigns yield higher conversions over non-targeted, general campaigns.

In this article, you’ll learn how to target campaigns to a location using the Geo-Location rule.

Before you start, this feature requires a Growth subscription.

The Geo-Location Display Rule determines the visitor’s physical location based on their device’s IP Address.

Configure Geo-Location Rule

Geo-Location Targeting allows you to personalize your campaigns based on your visitor’s location.

To add Geo-Location Targeting to any campaign, follow these steps:

  1. Navigate to the Display Rules view in the campaign builder.
    Navigate to the Display Rules in the OptinMonster campaign builder.
  2. Next, when adding or editing a rule select Who (Personalization) from the left-hand list and select the Physical Location option.
    Geo-Location rule in OptinMonster.
  3. You’ll be provided a dropdown operator field, and a text field to enter the name of the location you wish to target.
    Physical Location targeting options.
    The following options are available for Physical Location:
    • is
    • is not
    • is in the European Union
    • is not in the European Union
  4. Type the name of the location you want to target and select the Validate button.
    Validate the location.
  5. A popup modal will appear on the screen providing possible matches to the name of the location you entered. Select the [+] icon for the location you wish to confirm.
    Confirm the physical location.
  6. Confirmed locations can be easily identified by the blue check icon to the right.
    Validated location in the Display Rules.
  7. When you are finished, Save the campaign.


Once you’ve configured Geo-Location you’ll want to test the appearance of your campaign.

If you are not physically located where your campaign is configured to appear, you can fake the location by modifying the URL of the page you visit on your site.

To do this, add the following query argument to the end of the URL you are testing: ?omip=IP_ADDRESS

Replace IP_ADDRESS with an IP Address that matches the physical location you want to test.

For example, if I wanted to test the appearance of a campaign for visitors physically located in Hawaii, the URL modification might look like this:


If the URL you are testing already contains query arguments, you’ll append this argument using an ampersand. For example, https://optinmonster.com?utm_source=email&omip=IP_ADDRESS

How can I find an IP Address for the physical location I want to test?

Using your preferred search engine, use the term “LOCATION ip address” replacing ‘LOCATION’ with the name of the physical location you are testing.

Search for IP Address
Can I target only EU countries (GDPR)?

Yes, you can include or exclude a campaign from appearing to visitors located in countries that are members of the EU (those who are protected by GDPR).

If you’re serious about jumpstarting your website business growth, then get started with OptinMonster today!

Get Started With OptinMonster Today!

BONUS: Done-For-You Campaign Setup ($297 value)

Our conversion experts will design 1 free campaign for you to get maximum results – absolutely FREE!

Click here to get started →


Why aren’t my location rules working as expected?

Be certain each Physical Location rule you’ve added to the campaign has been validated. You can quickly identify any rule which has not been validated by the missing blue check icon:

Validated location in the Display Rules.

Still stuck?

How can we help?

Last updated on

Start Getting More
Leads & Sales Today
with OptinMonster!

Create and launch smart capture forms today in minutes. What are you waiting for?

Create and launch smart capture forms
today in minutes. What are you waiting for?

OptinMonster has transformed our business. Before integrating their optins, our clients saw a 2% conversion rate from web traffic, which is slightly above the standard for their industry. With the integration of OptinMonster’s lightbox popup, exit-intent technology, split testing, and other tools, our client’s conversion rates soared by an unprecedented 500%. They attracted substantially more customers while spending less on digital advertising. Their success propelled them to the top of their markets, outperforming national chains and other medical spas with much bigger marketing budgets. Our client’s success in their market has distinguished us in our own. We are now one of the most sought-after marketing firms in the industry of aesthetic medicine. We know that the integration of OptinMonster, more than any other tool or marketing strategy, has supported this growth and achievement.

chris zelig medstar media

Chris Zelig

Partner, Medstar Media

OptinMonster has been a game-changer for us. From driving donations to collecting new leads, there is nothing that this simple tool has failed to accomplish. Our lead collection rate has jumped by over 1,000%.

joe lowe american bird conservancy

Joe Lowe

Director of Digital Communications, American Bird Conservancy

Through OptinMonster’s exit-intent popups, we have more than doubled our sales conversion rate. Best of all is the compound effect of using OptinMonster over a long period of time—more conversions mean more customers, which means more word of mouth.

mitch smith, managing director, shockbyte

Mitch Smith

Managing Director, Shockbyte.com