Magento 2 GeoIP Lookup Extension

version 2.0.1 (Nov 04, 2024)
(5.0)
3 Review(s)

was:$99.00 - 10%

you save:$9.90

was: Sale:$89.10 (10% off)

GeoIP Lookup Extension for Magento 2 is a Geographic Location web API allowing developers to retrieve physical location from a given IP address. Use this add-on to detect the visitor’s country, city, state, zip code, time zone, latitude, longitude, and more.

  • Retrieve real-time geolocation from the IP Address. Get location, phone area code, detect EU-members, geographic coordinates and other information instantly.
  • Uses local GeoIP databases as well as external GeoIP services to provide accurate data.
  • Keep your local Geo IP databases up to date using automatic or manual updates.
  • Take advantage of full GraphQL and REST API support
  • CE: 2.3.x - 2.4.7
    EE: 2.3.x - 2.4.7
  • 100%
    Open Code
  • 60 Days
    Refund Policy
  • Free
    Lifetime Updates
  • CE: 2.3.x - 2.4.7
    EE: 2.3.x - 2.4.7
  • 100%
    Open Code
  • 60 Days
    Refund Policy
  • Free
    Lifetime Updates

Key Features of Magento 2 GeoIP Lookup Extension

The GeoIP Lookup extension helps you easily get accurate geographic location information of IP addresses from two local databases - Maxmind and IpToCountry and the ipapi online service. Right from your Magento store backend, you can test the GeoIP lookup functionality, use the REST API link and view the address on Google Maps.

This Geolocation extension for Magento 2 is a perfect solution for Magento development teams trying to add Geo IP address lookup functionality to their projects. Whether you need to switch Magento store view, change language or currency, get visitors’ zip code for a shipping cost estimate, or prefill customer’s data on the checkout page - this extension can help you solve these goals.

Powerful & Simple REST API and PHP Interfaces for IP Address Geolocation

  • Reverse IP Lookup REST API enables developers to retrieve the full geographic location of an IP address in the most popular formats - XML or JSON.
  • Benefit from our comprehensive documentation on REST API and PHP interfaces to get the most out of GeoIP functionality and easily integrate it with your application.

One of the Largest Geolocation Data Sets

Supercharge your eCommerce store by making use of more than 45 unique data points returned for each IP address using provided APIs.

Location
  • Continent
  • Country
  • Region
  • City
  • ZIP Code
  • Latitude
  • Longitude
  • Geoname ID
  • Capital
  • Languages
  • Calling Code
  • EU Member Detection
Time Zone
  • Time Zone ID
  • Time Zone Code
  • Current Time
  • GMT Offset
  • Daylight Saving Detection
Currency (Coming Soon)
  • Currency Code
  • Currency Name
  • Currency Name Plural
  • Currency Symbol International
  • Currency Symbol Native

Use Multiple GeoIP Databases for More Detailed & Accurate Data

  • Get accurate geographic location from ipapi online service, and two local databases - Maxmind, and IpToCountry.
  • Enable all databases at once to make sure you always get geolocation information. If there is no data available in one database, the Magento 2 GeoIP extension will retrieve it from another source.

Update GeoIP Databases in One Click

  • Choose your best method to install GeoIP database updates on your Magento store - automatically or manually.
  • You can manually upload your own copy of databases to the webserver, or download them automatically from Plumrocket servers to be installed in one click.

Perform IP Geolocation Tests

  • Quickly test IP geolocation from the Magento backend and view all available data in a user-friendly interface.
  • Perform the latitude and longitude search on Google Maps to find the approximate GPS location of the provided IP address.

Magento 2 GeoIP Lookup Extension Overview

All Features:

  • NEW! Compatible with Hyvä Themes
  • Get accurate geographic location from 2 local databases - Maxmind and IpToCountry and ipapi online service
  • Retrieve the following data by IP address: continent, country, city, state, zip code, time zone, latitude, longitude, phone area code
  • Use the Reverse IP Lookup REST API or built-in methods to retrieve full geographic location information instantly
  • Quickly test IP geolocation from the extension backend
  • Install Geo IP database updates using two methods - manual and automatic
  • 100% open code Magento 2 extension

Magento 2 GeoIP Lookup Extension Reviews

Every customer will automatically receive a 100 reward points for each approved review. To submit your review please

Write a Review
  • Great plugin.
    Akio Tanaka posted on November 30, 2023. Review for Magento 2.x
    The databases are easy to set up, and they provide accurate geolocation information. Really useful! Thanks to Plumrocket developers.
  • Good extension!
    Samuel Kane posted on August 04, 2022. Review for Magento 2.x
    GeoIP Lookup is a pretty straightforward extension that does exactly what it says on the tin. It's easy to keep the databases updated and retrieve accurate geolocation from IP addresses. A well-written extension that I'd recommend to anyone who needs this kind of functionality to complement their projects and save time on development.
  • Very useful for my project.
    Guido Chevalier posted on November 02, 2021. Review for Magento 2.x
    I'm a programmer myself and I know how hard it is to find a good developer for your project. The GeoIP Lookup is clean and high quality code. You did a great job and were always very helpful and responsive.
Your honest feedback
helps other visitors
in selecting their products
&
earns you a $10 in rewards
for each submitted review!
Write a Review

Magento 2 GeoIP Lookup Extension FAQ

  • Can I Integrate Magento GeoIP with Third-Party Functionality

    Yes, the Magento 2 GeoIP Lookup can be integrated with any custom and third-party functionality that requires detecting geolocation data on IP addresses. Basically, you can use this GeoIP functionality for any integrations depending on your business needs, whether you need to detect only the visitor's country or detailed geolocation data, including latitude and longitude. This makes the GeoIP Lookup a great ready-made tool that makes it easy for developers to create the custom functionality they need to empower Magento stores.

    For example, developers can use the GeoIP for custom functionality to locate a user and assign the location data to their accounts. Or, you can display popups only to New York residents to congratulate them on New York Day and offer special discounts. You can even pre-fill country and city information in the registration forms to simplify the sign-up process for your potential customers or show different product prices based on the user’s country.

    However, you can take advantage of GeoIP that is already integrated with Plumrocket extensions, ensuring full compliance with major data privacy laws and regulations. Namely, the US Privacy Laws, GDPR (General Data Protection Regulation), and LGPD (Brazilian General Data Protection Law) plugins provide a free built-in Magento GeoIP integration, available after you install the plugin. Read more about the benefits of GeoIP and Data Privacy plugins integration.

    All of the above can be implemented with the help of the Plumrocket GeoIP Lookup Extension. This API reference guide might be helpful for you as well. You will definitely take advantage of all those features on your website.

    For additional information, you may contact our friendly support team or request a custom development tailored to your unique needs.

  • What IP Geolocation Data is Retrieved Using ipapi, MaxMind, and IpToCountry Services

    The Magento 2 GeoIP Lookup Extension uses three built-in services to retrieve IP geolocation information: two local databases (MaxMind and IpToCountry) and ipapi online service.

    On the one hand, we recommend enabling all databases to make sure you always get available geolocation data. In case one database doesn’t have any information about the specific IP address, the extension retrieves it from another source.

    However, each database has got its peculiarities and data specifications, providing you with a different set of location data retrieved from IP addresses. That's why you can use only the services that best suit your business needs. Let’s take a closer look at each database.

    Ipapi GeoIP Service

    The apapi is a free online service that provides real-time geolocation data. Using the ipapi service, the GeoIP Lookup extension retrieves the following geolocation data from IP addresses:

    • Country code
    • Country name
    • Region
    • City
    • Latitude
    • Longitude

    The service is perfect when you need to get real-time geolocation data from IP addresses. Unlike other built-in databases, the ipapi is an online service, which means you don’t need to upgrade databases periodically to get the latest information.

    MaxMind GeoIP Database

    The MaxMind is the leading database in IP intelligence, which you can install on your server with just a few clicks. Use the MaxMind database to return the following data set of IP addresses:

    • Continent
    • Continent Code
    • Country
    • Country Code
    • City
    • Postal Code
    • Time Zone
    • European Union Detection
    • Latitude
    • Longitude
    • Metro Code
    • Subdivision 1,2 ISO Code
    • Subdivision 1,2 Name
    Here's an example of IP geolocation data retrieved from the MaxMind database using the GeoIP Lookup extension:
     

    IpToCountry GeoIP Database

    The IpToCountry database is useful when you need to only determine country information from users’ IP addresses. The GeoIP Lookup extension uses free "IP to Country Lite" database, which provides you with extensive and accurate geolocation data. However, if you require the most recent information, you may download the "IP to Country" database on the official website in the CSV format, as it is updated on a daily basis.

    Overall, the GeoIP Lookup extension helps you get the specific IP geolocation data based on your business needs, whether it requires detailed and the most relevant information, or just a country detection.

    Please reach out to our friendly support team for any inquiries or concerns.

  • What is the Priority of Using Magento 2 GeoIP Lookup Databases

    The Magento 2 GeoIP Lookup extension uses three built-in databases and services to retrieve customer location:  MaxMind, IpToCountry, and IpApi. In addition, you can enable one or more databases at the same time, which allows you to automatically retrieve geographic locations from other databases in case one of them doesn’t respond.

    So, which database takes priority when retrieving geolocation if all three databases are enabled? In fact, the priority is the same as the order in which the databases appear in the admin panel: MaxMind, IpToCountry, and then IpApi.

    Hence, the GeoIP Lookup extension uses the first service that responds. For example, if the MaxMind database does not have any information about a specific IP address, the plugin requests data from the IpToCountry service.

    Please note that if you want to get geolocation info from a specific database, the other two must be disabled from the extension backend.

    Can I change the database priority

    The database priority in the Magento 2 GeoIP Lookup extension cannot be changed. However, you can specify it when making REST API requests.

    GeoIP Lookup REST API allows you to integrate your own development with the GeoIP Lookup module. Please follow the detailed instructions on how to access the REST API and then specify the service priority when making the request. This way, you can return all available geolocation information on the IP address, setting the order of the services in the REST API link after the IP parameter.

    Note that the database priority you set when making a REST API request will be changed only for your specific request.

    You are welcome to check out our FAQs section or contact our Plumrocket support team for any additional details.

  • Is Magento 2 GeoIP Lookup Compatible with Data Privacy Plugins

    Basically, the GeoIP Lookup was designed by Plumrocket to help retrieve the geolocation data on IP addresses. Developers can use it to create their own functionality that requires getting the user's geolocation.

    However, you can take full advantage of the extension already integrated into all Plumrocket data privacy modules, giving you complete control over the display of consent banners, checkboxes, and more. The Plumrocket modules are feature-rich and very easy to use as they are all compatible and most of them are integrated with each other.

    Benefits of Magneto 2 GeoIP Lookup & Data Privacy Plugins Integration

    The Magneto 2 data privacy extensions, including GDPR, CCPA, LGPD, and Cookie Consent plugins, have been developed by Plumrocket to protect your customers’ personal data, ensure their privacy, and inform the facts and purposes of all personal information collected by the website. They cover and ensure compliance with major data privacy laws and regulations in the world, including the EU, California, and Brazil.

    To simplify the implementation of data privacy laws on your Magento store and reach customers only from required countries/states, the GeoIP Lookup plugin has been integrated into the mentioned plugins.

    In particular, you can take full advantage of the data privacy modules and built-in GeoIP Lookup functionality to locate users and take appropriate action only for specific users. For example, display a cookie consent banner only for California citizens or allow access to the data privacy dashboard only for EU residents. Being able to locate a user lets you comply with local laws without disturbing users who do not apply these rules.

    Please follow the GeoIP Lookup configuration instructions to set it up correctly. Once configured, you can easily enable, for example, the “Do Not Sell My Personal Information” page only for visitors from California state (see the screenshot below).
     
     
    Please remember that you can integrate the Plumrocket GeoIP Lookup plugin with any third-party or custom functionality you need.
     
    We hope the article was informative for you. Please let us know if you have any other questions.
  • How Magento 2 GeoIP Lookup Retrieves Geologation Data When CDN is Enabled

    A content delivery network, or CDN for short, is a geographically distributed network of servers that can deliver cached copies of content to the end user, with reduced latency. Content delivery networks provide high availability and increased performance on the web.

    So, as you may already know, the "one localized content provider" rule is over. Now, localized content providers are everywhere. This means that a user receives information from a provider available to them at the nearest geographical distance.

    Moreover, those providers that distribute content have different IP addresses. Therefore, a question that might arise here is which IP address GeoIP Lookup takes into account: the proxy server IP or the actual IP address of the user?

    The GeoIP Lookup plugin is intended to distinguish between IP addresses of CDN and user device IP addresses. As a result, the Plumrocket extension bypasses CDN and only gets location data from users’ real IP addresses.

    All in all, our extension supports many CDN services, which means that you can get all location data on the initial user’s IP address.

    For further details please contact our support team.

Change Log of Magento 2 GeoIP Lookup Extension

Legend:  - new feature - bug fix

Version 2.0.1 Nov 04, 2024

  • Fixed test connection functionality for ipapi.com integration

Version 2.0.0 Aug 20, 2024

  • Optimized the extension to reduce the load on the Magento database
  • Updated IpToCountry and Maxmind GeoIP integrations, now they work with mmdb (MaxMind DB format) files
  • Optimized the overall extension performance

Version 1.3.5 Oct 12, 2023

  • Added support of HTTPS for ipapi professional plans

Version 1.3.4 Apr 12, 2023

  • Added support of Magento 2.4.6 version

Version 1.3.3 Oct 13, 2022

  • Fixed duplicate display of extension information on the configuration page

Version 1.3.2 Aug 31, 2022

  • Added support of Magento 2.4.5 version

Version 1.3.1 May 11, 2022

  • Fixed extension installation error related to invalid db_schema.xml

Version 1.3.0 May 02, 2022

  • Added support of Magento 2.4.4 version
  • Discontinued support of Magento 2.2.x
  • Migrated install/upgrade scripts to declarative schema

Version 1.2.5 Oct 25, 2021

  • Updated the Iptocountry base
  • Minor changes and improvements

Version 1.2.4 Mar 30, 2021

  • Minor changes and improvements

Version 1.2.3 Dec 21, 2020

  • Minor changes and improvements
  • Resolved an issue of identifying a user's IP address if a site uses Cloudflare CDN

Version 1.2.2 Jul 30, 2020

  • Added integration with Cookie Consent extension.

Version 1.2.1 Jul 14, 2020

  • Minor changes and improvements

Version 1.2.0 Jul 07, 2020

  • Discontinued support of Magento 2.1.x
  • Added integration with Cookie Consent module.
  • Changed API URL format
  • Fixed 500 Internal Server Error when using GeoIP API

Version 1.1.3 Dec 13, 2019

  • Added support for CCPA
  • Minor fixes in the design of the backend

Version 1.1.2 Oct 04, 2019

  • Updated code to be in line with the latest Magento coding standards (EQP3)

Version 1.1.1 Apr 03, 2019

  • Minor improvments

Version 1.1.0 Nov 21, 2018

  • Added the support of service priority selection via code and API
  • Improved support of IpApi.com (previously called Nekudo)
  • Optimized Maxmind performance

Version 1.0.0 Sep 20, 2018

  • Created GeoIP Lookup for Magento 2
Show All Product Updates