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.

Still Need Help?