{"id":112456,"date":"2023-07-10T11:41:58","date_gmt":"2023-07-10T15:41:58","guid":{"rendered":"https:\/\/optinmonster.com\/?post_type=optinmonster_docs&#038;p=96465"},"modified":"2025-08-08T13:58:28","modified_gmt":"2025-08-08T17:58:28","slug":"how-to-geo-target-your-optins","status":"publish","type":"optinmonster_docs","link":"https:\/\/optinmonster.com\/docs\/how-to-geo-target-your-optins\/","title":{"rendered":"How to Use OptinMonster&#8217;s Geo-Location Rule for Advanced Lead Targeting"},"content":{"rendered":"\n<p>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 href=\"https:\/\/optinmonster.com\/active-lifestyle-brand-marketing-case-study\/\" target=\"_blank\" rel=\"noopener\" title=\"\">a particular city<\/a>. Highly targeted campaigns yield higher conversions over non-targeted, general campaigns.<\/p>\n\n\n\n<p>In this article, you\u2019ll learn how to target campaigns to a location using the Geo-Location rule.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column alert alert-info is-layout-flow wp-block-column-is-layout-flow\">\n<p><strong><em>Before you start<\/em><\/strong>, this feature requires a <a href=\"https:\/\/optinmonster.com\/pricing\" target=\"_blank\" rel=\"noopener\" title=\"Pro and higher subscription\">Growth subscription<\/a>.<\/p>\n<\/div>\n<\/div>\n\n\n\n<p><em><strong>The Geo-Location Display Rule determines the visitor&#8217;s physical location<\/strong><\/em> based on their device&#8217;s IP Address.<\/p>\n\n\n\n<p><iframe title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/F5A5aAdjtbI?rel=0\" width=\"800\" height=\"450\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how\">Configure Geo-Location Rule<\/h2>\n\n\n\n<p>Geo-Location Targeting allows you to personalize your campaigns based on your visitor&#8217;s location.<\/p>\n\n\n\n<p>To add Geo-Location Targeting to any campaign, follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Navigate to the <strong>Display Rules<\/strong> view in the campaign builder.<br><img decoding=\"async\" width=\"800\" height=\"560\" class=\"alignnone size-full wp-image-180093\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/06\/display-rules-view.jpg\" alt=\"Navigate to the Display Rules in the OptinMonster campaign builder.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/06\/display-rules-view.jpg 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/06\/display-rules-view-300x210.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/06\/display-rules-view-768x538.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>Next, when adding or editing a rule select <strong>Who (Personalization)<\/strong> from the left-hand list and select the <strong>Physical Location<\/strong> option.<br><img decoding=\"async\" width=\"800\" height=\"562\" class=\"alignnone size-full wp-image-180398\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/geolocation-rule.jpg\" alt=\"Geo-Location rule in OptinMonster.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/geolocation-rule.jpg 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/geolocation-rule-300x211.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/geolocation-rule-768x540.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>You&#8217;ll be provided a dropdown operator field, and a text field to enter the name of the location you wish to target.<br><img decoding=\"async\" width=\"872\" height=\"118\" class=\"alignnone size-full wp-image-180397\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/geolocation-rule-options.jpg\" alt=\"Physical Location targeting options.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/geolocation-rule-options.jpg 872w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/geolocation-rule-options-300x41.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/geolocation-rule-options-768x104.jpg 768w\" sizes=\"(max-width: 872px) 100vw, 872px\" \/><br>The following options are available for Physical Location:\n<ul class=\"wp-block-list\">\n<li>is<\/li>\n\n\n\n<li>is not<\/li>\n\n\n\n<li>is in the European Union<\/li>\n\n\n\n<li>is not in the European Union<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Type the name of the location you want to target and select the <strong>Validate<\/strong> button.<br><img decoding=\"async\" width=\"878\" height=\"122\" class=\"alignnone size-full wp-image-180396\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/geolocation-validate.jpg\" alt=\"Validate the location.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/geolocation-validate.jpg 878w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/geolocation-validate-300x42.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/geolocation-validate-768x107.jpg 768w\" sizes=\"(max-width: 878px) 100vw, 878px\" \/><\/li>\n\n\n\n<li>A popup modal will appear on the screen providing possible matches to the name of the location you entered. Select the <strong>[+] icon<\/strong> for the location you wish to confirm.<br><img decoding=\"async\" width=\"968\" height=\"304\" class=\"alignnone size-full wp-image-180395\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/geolocation-rule-validate-select.jpg\" alt=\"Confirm the physical location.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/geolocation-rule-validate-select.jpg 968w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/geolocation-rule-validate-select-300x94.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/geolocation-rule-validate-select-768x241.jpg 768w\" sizes=\"(max-width: 968px) 100vw, 968px\" \/><\/li>\n\n\n\n<li>Confirmed locations can be easily identified by the blue check icon to the right.<br><img decoding=\"async\" width=\"934\" height=\"124\" class=\"alignnone size-full wp-image-180394\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/geolocation-rule-validated-check.jpg\" alt=\"Validated location in the Display Rules.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/geolocation-rule-validated-check.jpg 934w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/geolocation-rule-validated-check-300x40.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/geolocation-rule-validated-check-768x102.jpg 768w\" sizes=\"(max-width: 934px) 100vw, 934px\" \/><\/li>\n\n\n\n<li>When you are finished, <strong>Save<\/strong> the campaign.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Testing<\/h2>\n\n\n\n<p>Once you&#8217;ve configured Geo-Location you&#8217;ll want to test the appearance of your campaign.<\/p>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>To do this, add the following query argument to the end of the URL you are testing: <code>?omip=IP_ADDRESS<\/code><\/p>\n\n\n\n<p>Replace <code>IP_ADDRESS<\/code> with an IP Address that matches the physical location you want to test.<\/p>\n\n\n\n<p>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:<\/p>\n\n\n\n<p><code>https:\/\/optinmonster.com?omip=192.154.168.149<\/code><\/p>\n\n\n\n<div class=\"alert-box alert-blue\">\n<p class=\"alert-box-title\"><\/p>\n\n\n\n<p>If the URL you are testing already contains query arguments, you&#8217;ll append this argument using an ampersand. For example, <code>https:\/\/optinmonster.com?utm_source=email<\/code>&amp;<strong>omip=IP_ADDRESS<\/strong><\/p>\n\n\n\n<p class=\"is-style-arrow-link has-link-color\"><\/p>\n<\/div>\n\n\n\n<h5 class=\"wp-block-heading\">How can I find an IP Address for the physical location I want to test?<\/h5>\n\n\n\n<p>Using your preferred search engine, use the term &#8220;LOCATION ip address&#8221; replacing &#8216;LOCATION&#8217; with the name of the physical location you are testing.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"740\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/08\/Screenshot-on-2021-04-21-at-10-56-45-1024x740.png\" alt=\"Search for IP Address\" class=\"wp-image-159396\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/08\/Screenshot-on-2021-04-21-at-10-56-45-1024x740.png 1024w, https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/08\/Screenshot-on-2021-04-21-at-10-56-45-300x217.png 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/08\/Screenshot-on-2021-04-21-at-10-56-45-768x555.png 768w, https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/08\/Screenshot-on-2021-04-21-at-10-56-45.png 1508w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"eu-gdpr\">Can I target only EU countries (GDPR)?<\/h5>\n\n\n\n<p>Yes, you can include or exclude a campaign from appearing to visitors located in countries that are members of the EU (<a title=\"What you need to know about GDPR\" href=\"https:\/\/optinmonster.com\/what-you-need-to-know-about-gdpr-and-optinmonster\/\" target=\"_blank\" rel=\"noopener noreferrer\">those who are protected by GDPR<\/a>).<br><img decoding=\"async\" class=\"alignnone size-full wp-image-148175\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/07\/in-an-EU-country.png\" alt=\"\" width=\"800\" height=\"443\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/07\/in-an-EU-country.png 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/07\/in-an-EU-country-300x166.png 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/07\/in-an-EU-country-768x425.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n\n\n\n\n\n<h2 class=\"wp-block-heading\" id=\"faq\">Troubleshooting<\/h2>\n\n\n\n<h5 class=\"wp-block-heading\">Why aren&#8217;t my location rules working as expected?<\/h5>\n\n\n\n<p>Be certain each Physical Location rule you&#8217;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:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"934\" height=\"124\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/geolocation-rule-validated-check.jpg\" alt=\"Validated location in the Display Rules.\" class=\"wp-image-180394\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/geolocation-rule-validated-check.jpg 934w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/geolocation-rule-validated-check-300x40.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/geolocation-rule-validated-check-768x102.jpg 768w\" sizes=\"(max-width: 934px) 100vw, 934px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>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&nbsp;&hellip;<\/p>\n","protected":false},"author":4657,"comment_status":"open","ping_status":"closed","template":"","documentation\/categories":[28201],"documentation\/tags":[31399,31498,31415,31459,31411,31401],"class_list":["post-112456","optinmonster_docs","type-optinmonster_docs","status-publish","hentry","categories-display-rules"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/112456","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/types\/optinmonster_docs"}],"author":[{"embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/users\/4657"}],"replies":[{"embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/comments?post=112456"}],"version-history":[{"count":25,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/112456\/revisions"}],"predecessor-version":[{"id":206400,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/112456\/revisions\/206400"}],"wp:attachment":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/media?parent=112456"}],"wp:term":[{"taxonomy":"categories","embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/categories?post=112456"},{"taxonomy":"internal_tags","embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/tags?post=112456"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}