{"id":27527,"date":"2024-08-14T09:15:51","date_gmt":"2024-08-14T13:15:51","guid":{"rendered":"https:\/\/plumrocket.com\/docs\/?p=27527"},"modified":"2026-03-30T03:45:42","modified_gmt":"2026-03-30T07:45:42","slug":"magento-2-ip-geolocation-lookup-v2-x-configuration","status":"publish","type":"post","link":"https:\/\/plumrocket.com\/docs\/magento-ip-geolocation-lookup\/v2\/configuration","title":{"rendered":"Magento 2 IP Geolocation Lookup v2.x Configuration"},"content":{"rendered":"\n<h2 id=\"h-general\">General<\/h2>\n\n\n\n<p>Here you will learn how to configure <a href=\"\/magento-geoip-lookup\">Magento 2 IP Geolocation Lookup<\/a> v2.x extension correctly. <\/p>\n\n\n\n<p><strong>In the main menu go to &#8220;Plumrocket&#8221; tab &gt; select &#8220;IP Geolocation Lookup&#8221; extension &gt; navigate to &#8220;Configuration&#8221; section.<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-Step actions:<\/p>\n\n\n\n<ol><li>&#8220;<strong>Enable Extension&#8221;:<\/strong>&nbsp;this option allows you to enable or disable this IP Geolocation Lookup extension for Magento 2.<\/li><li><strong>&#8220;Serial Key&#8221;:<\/strong>&nbsp;enter the unique serial key provided to you after purchasing the extension.&nbsp;<strong>Note<\/strong>:&nbsp;In most cases, this field will be pre-filled with a serial key automatically, and the green checkmark will be displayed. To find and paste your serial key manually, read the&nbsp;<strong><a href=\"\/docs\/general\/magento-license-installation\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Serial Key Activation<\/a><\/strong>&nbsp;article.<\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"1204\" height=\"483\" src=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2026\/03\/magento2-ip-geo-lookup-config-1.png\" alt=\"GeoIP_Lookup_configuration-1\" class=\"wp-image-29001\" srcset=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2026\/03\/magento2-ip-geo-lookup-config-1.png 1204w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2026\/03\/magento2-ip-geo-lookup-config-1-300x120.png 300w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2026\/03\/magento2-ip-geo-lookup-config-1-1024x411.png 1024w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2026\/03\/magento2-ip-geo-lookup-config-1-768x308.png 768w\" sizes=\"(max-width: 1204px) 100vw, 1204px\" \/><\/figure>\n\n\n\n<h2 id=\"h-services\">Services<\/h2>\n\n\n\n<p>In this section, you can learn how to connect to a database from which you want to retrieve data. You can enable one or more databases at a time. This is useful for the automatic retrieval of geographic location information from other databases in case one of them fails.<\/p>\n\n\n\n<h3 id=\"h-maxmind-ip-geolocation-database\">Maxmind IP Geolocation Database<\/h3>\n\n\n\n<p>When this database is enabled, geolocation lookups will use GeoLite2 data created by <a href=\"https:\/\/www.maxmind.com\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">MaxMind<\/a>. You can retrieve information about the country, state, city, postal code, time zone, locale, latitude, and longitude.<\/p>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-Step actions:<\/p>\n\n\n\n<ol><li>&#8220;<strong>Enable Maxmind IP Geolocation<\/strong>&#8220;: this option allows you to enable or disable the Maxmind GeoIP database.<\/li><li>&#8220;<strong>Database Status<\/strong>&#8220;: you can view the installation status, current version of the database, and date when it was built in this field.<\/li><li>&#8220;<strong>Installation Method<\/strong>&#8220;:<ul><li>set to <em>&#8220;Automatic Installation&#8221;<\/em> if you want to install the Maxmind IP Geolocation database automatically. Then press the Install Database button. <\/li><li>set to<em>&#8220;Manual Installation&#8221;<\/em> if you want to install the database manually. Please follow our <a href=\"\/docs\/magento-geoip-lookup\/v1\/devguide\/databases-manual-installation\n\" target=\"_blank\" rel=\"noreferrer noopener\">Databases Manual Installation<\/a> developer&#8217;s guide to learn how to install the databases manually.<\/li><\/ul><\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"1203\" height=\"461\" src=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2026\/03\/magento2-ip-geo-lookup-config-2.png\" alt=\"GeoIP_Lookup_configuration-2\" class=\"wp-image-29002\" srcset=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2026\/03\/magento2-ip-geo-lookup-config-2.png 1203w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2026\/03\/magento2-ip-geo-lookup-config-2-300x115.png 300w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2026\/03\/magento2-ip-geo-lookup-config-2-1024x392.png 1024w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2026\/03\/magento2-ip-geo-lookup-config-2-768x294.png 768w\" sizes=\"(max-width: 1203px) 100vw, 1203px\" \/><\/figure>\n\n\n\n<h3 id=\"h-iptocountry-ip-geolocation-database\">IpToCountry IP Geolocation Database<\/h3>\n\n\n\n<p>If you don&#8217;t need detailed location information, enable the IpToCountry IP Geolocation database. It includes only the list of countries.<\/p>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-Step actions:<\/p>\n\n\n\n<ol><li>&#8220;<strong>Enable IpToCountry IP Geolocation<\/strong>&#8220;: this option allows you to enable or disable the IpToCountry GeoIP database.  <\/li><li>&#8220;<strong>Database Status<\/strong>&#8220;: you can view the installation status, current version of the database, and date when it was built in this field.<\/li><li>&#8220;<strong>Installation Method<\/strong>&#8220;: <ul><li>set to <em>&#8220;Automatic Installation&#8221;<\/em> if you want to install the IpToCountry IP Geolocation database automatically. Then press the Install Database button.<\/li><li>set to<em>&#8220;Manual Installation&#8221;<\/em> if you want to install the database manually. Please follow our <a aria-label=\"undefined (opens in a new tab)\" href=\"\/docs\/magento-geoip-lookup\/v1\/devguide\/databases-manual-installation\" target=\"_blank\" rel=\"noreferrer noopener\">Databases Manual Installation<\/a> developer&#8217;s guide to learn how to install the databases manually. <\/li><\/ul><\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"1203\" height=\"515\" src=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2026\/03\/magento2-ip-geo-lookup-config-3.png\" alt=\"GeoIP_Lookup_configuration-2\" class=\"wp-image-29004\" srcset=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2026\/03\/magento2-ip-geo-lookup-config-3.png 1203w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2026\/03\/magento2-ip-geo-lookup-config-3-300x128.png 300w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2026\/03\/magento2-ip-geo-lookup-config-3-1024x438.png 1024w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2026\/03\/magento2-ip-geo-lookup-config-3-768x329.png 768w\" sizes=\"(max-width: 1203px) 100vw, 1203px\" \/><\/figure>\n\n\n\n<h3 id=\"h-ipapi-com-ip-geolocation-api\">Ipapi.Com &#8211; IP Geolocation API<\/h3>\n\n\n\n<p>Ipapi provides an easy-to-use API interface that allows you to view various information related to IPv4 and IPv6 addresses.<\/p>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-Step actions:<\/p>\n\n\n\n<ol><li>&#8220;<strong>Enable IP Geolocation API<\/strong>&#8220;: this option allows you to enable or disable the IP Geolocation API.<\/li><li><strong>&#8220;Use HTTPS Encryption&#8221;: <\/strong>this option allows you to choose whether you would like to use HTTPS Encryption.<\/li><li>&#8220;<strong>Acess Key<\/strong>&#8220;: <ul><li>Register on <a href=\"https:\/\/ipapi.com\/\" rel=\"nofollow\">https:\/\/ipapi.com\/<\/a> and get your free API Key. Under the free plan, you are limited to 10,000 lookups a month and can retrieve only location data. To get more data and increase the lookups limit, consider paid plans. <\/li><li>Enter your API key in the Access Key field. Then, press the Test Connection button and a green checkmark will be displayed informing you of a successful connection.<\/li><\/ul><\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"1206\" height=\"497\" src=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2026\/03\/magento2-ip-geo-lookup-config-4.png\" alt=\"GeoIP_Lookup_configuration-4\" class=\"wp-image-29005\" srcset=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2026\/03\/magento2-ip-geo-lookup-config-4.png 1206w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2026\/03\/magento2-ip-geo-lookup-config-4-300x124.png 300w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2026\/03\/magento2-ip-geo-lookup-config-4-1024x422.png 1024w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2026\/03\/magento2-ip-geo-lookup-config-4-768x316.png 768w\" sizes=\"(max-width: 1206px) 100vw, 1206px\" \/><\/figure>\n\n\n\n<h2 id=\"h-ip-geolocation-lookup-test\">IP Geolocation Lookup Test<\/h2>\n\n\n\n<p>In this section you are able to test the specific IP adress and see what information is displayed.<\/p>\n\n\n\n<div class=\"wp-block-group pr-notice pr-notice-info\"><div class=\"wp-block-group__inner-container\">\n<p class=\"pr-notice-title\">Step-by-Step actions:<\/p>\n\n\n\n<ol><li>&#8220;<strong>IP Address<\/strong>&#8220;: enter any valid IP address to test IP Geolocation Lookup. Your own IP address is automatically filled in.<\/li><li>&#8220;<strong>Test IP Geolocation Lookup<\/strong>&#8220;: press the Get Location From IP button to retrieve location data from the entered IP address.<\/li><li>&#8220;<strong>IP Geolocation Information<\/strong>&#8220;: if the IP address is correct and you have at least one of the three services enabled, then the location data will be displayed in this field. By default, the IP Geolocation Lookup extension uses services in the order in which they appear in the backend of the extension&#8217;s configurations (Maxmind &gt; IpToCountry &gt; IpApi).<\/li><li>&#8220;<strong>View Location on Map<\/strong>&#8220;: click on the provided link to view the location of the IP address on Google Maps. Please note that the link is created based on Latitude and Longitude data returned from the IP Geolocation service. Hence, if the service for some reason did not return Latitude and Longitude data, the location link will be incorrect.<\/li><li>&#8220;<strong>REST API<\/strong>&#8220;: click on the provided link to see what location data you can get with the REST API. Read more about REST API and other methods of retrieving IP Geolocation data in our&nbsp;<a aria-label=\"undefined (opens in a new tab)\" target=\"_blank\" href=\"\/docs\/magento-geoip-lookup\/v1\/devguide\/rest-api\" rel=\"noreferrer noopener nofollow\">Rest API Reference<\/a>. <\/li><\/ol>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"1205\" height=\"728\" src=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2026\/03\/magento2-ip-geo-lookup-config-5.png\" alt=\"GeoIP_Lookup_configuration-5\" class=\"wp-image-29006\" srcset=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2026\/03\/magento2-ip-geo-lookup-config-5.png 1205w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2026\/03\/magento2-ip-geo-lookup-config-5-300x181.png 300w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2026\/03\/magento2-ip-geo-lookup-config-5-1024x619.png 1024w, https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2026\/03\/magento2-ip-geo-lookup-config-5-768x464.png 768w\" sizes=\"(max-width: 1205px) 100vw, 1205px\" \/><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>General Here you will learn how to configure Magento 2 IP Geolocation Lookup v2.x extension correctly. In the main menu go to &#8220;Plumrocket&#8221; tab &gt; select &#8220;IP Geolocation Lookup&#8221; extension &gt; navigate to &#8220;Configuration&#8221; section. Services In this section, you can learn how to connect to a database from which you want to retrieve data. &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/plumrocket.com\/docs\/magento-ip-geolocation-lookup\/v2\/configuration\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Magento 2 IP Geolocation Lookup v2.x Configuration&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[2],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v17.2 (Yoast SEO v17.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Configure Magento 2  IP Geolocation Lookup Extension v2.x Magento 2 IP Geolocation Lookup v2.x Configuration - Plumrocket Documentation<\/title>\n<meta name=\"description\" content=\"General Here you will learn how to configure Magento 2 IP Geolocation Lookup v2.x extension correctly. In the main menu go to &quot;Plumrocket&quot; tab &gt; select\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/plumrocket.com\/docs\/magento-ip-geolocation-lookup\/v2\/configuration\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Magento 2 IP Geolocation Lookup v2.x Configuration\" \/>\n<meta property=\"og:description\" content=\"General Here you will learn how to configure Magento 2 IP Geolocation Lookup v2.x extension correctly. In the main menu go to &quot;Plumrocket&quot; tab &gt; select\" \/>\n<meta property=\"og:url\" content=\"https:\/\/plumrocket.com\/docs\/magento-ip-geolocation-lookup\/v2\/configuration\" \/>\n<meta property=\"og:site_name\" content=\"Plumrocket Documentation\" \/>\n<meta property=\"article:published_time\" content=\"2024-08-14T13:15:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-30T07:45:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2026\/03\/magento2-ip-geo-lookup-config-1.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Plumrocket\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Configure Magento 2  IP Geolocation Lookup Extension v2.x Magento 2 IP Geolocation Lookup v2.x Configuration - Plumrocket Documentation","description":"General Here you will learn how to configure Magento 2 IP Geolocation Lookup v2.x extension correctly. In the main menu go to \"Plumrocket\" tab &gt; select","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/plumrocket.com\/docs\/magento-ip-geolocation-lookup\/v2\/configuration","og_locale":"en_US","og_type":"article","og_title":"Magento 2 IP Geolocation Lookup v2.x Configuration","og_description":"General Here you will learn how to configure Magento 2 IP Geolocation Lookup v2.x extension correctly. In the main menu go to \"Plumrocket\" tab &gt; select","og_url":"https:\/\/plumrocket.com\/docs\/magento-ip-geolocation-lookup\/v2\/configuration","og_site_name":"Plumrocket Documentation","article_published_time":"2024-08-14T13:15:51+00:00","article_modified_time":"2026-03-30T07:45:42+00:00","og_image":[{"url":"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2026\/03\/magento2-ip-geo-lookup-config-1.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"Plumrocket","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/plumrocket.com\/docs\/#website","url":"https:\/\/plumrocket.com\/docs\/","name":"Plumrocket Documentation","description":"Extensions docs, troubleshootings etc.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/plumrocket.com\/docs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/plumrocket.com\/docs\/magento-ip-geolocation-lookup\/v2\/configuration#primaryimage","inLanguage":"en-US","url":"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2026\/03\/magento2-ip-geo-lookup-config-1.png","contentUrl":"https:\/\/plumrocket.com\/docs\/wp-content\/uploads\/2026\/03\/magento2-ip-geo-lookup-config-1.png","width":1204,"height":483},{"@type":"WebPage","@id":"https:\/\/plumrocket.com\/docs\/magento-ip-geolocation-lookup\/v2\/configuration#webpage","url":"https:\/\/plumrocket.com\/docs\/magento-ip-geolocation-lookup\/v2\/configuration","name":"Magento 2 IP Geolocation Lookup v2.x Configuration - Plumrocket Documentation","isPartOf":{"@id":"https:\/\/plumrocket.com\/docs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/plumrocket.com\/docs\/magento-ip-geolocation-lookup\/v2\/configuration#primaryimage"},"datePublished":"2024-08-14T13:15:51+00:00","dateModified":"2026-03-30T07:45:42+00:00","author":{"@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/c96fccdb89342ae6804272265723eca8"},"description":"General Here you will learn how to configure Magento 2 IP Geolocation Lookup v2.x extension correctly. In the main menu go to \"Plumrocket\" tab &gt; select","breadcrumb":{"@id":"https:\/\/plumrocket.com\/docs\/magento-ip-geolocation-lookup\/v2\/configuration#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/plumrocket.com\/docs\/magento-ip-geolocation-lookup\/v2\/configuration"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/plumrocket.com\/docs\/magento-ip-geolocation-lookup\/v2\/configuration#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Docs","item":"https:\/\/plumrocket.com\/docs"},{"@type":"ListItem","position":2,"name":"Magento 2 Extensions","item":"https:\/\/plumrocket.com\/docs\/magento-extensions"},{"@type":"ListItem","position":3,"name":"Magento 2 IP Geolocation Lookup v2.x Configuration"}]},{"@type":"Person","@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/c96fccdb89342ae6804272265723eca8","name":"Plumrocket","image":{"@type":"ImageObject","@id":"https:\/\/plumrocket.com\/docs\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/10c44aa45aab391250913d982e552e53?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/10c44aa45aab391250913d982e552e53?s=96&d=mm&r=g","caption":"Plumrocket"}}]}},"_links":{"self":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/27527"}],"collection":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/comments?post=27527"}],"version-history":[{"count":6,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/27527\/revisions"}],"predecessor-version":[{"id":29032,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/27527\/revisions\/29032"}],"wp:attachment":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/media?parent=27527"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/categories?post=27527"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/tags?post=27527"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}