How to configure GEO Location?

Created by Baz ‎‎, Modified on Tue, 17 Dec, 2024 at 5:11 AM by Diztech BV.

Geo location allows the extension to determine to country of the visitor based on their IP address. We offer compatibility with various services for you to choose from.


The geolocation functionality is designed for the visitor's benefit, not the shop owner's. It helps suggest an appropriate shop in the store picker based on the visitor's location.


Select a service


Locate website visitors by IP address

Select which service you'd like to use for GEO location.

We support any of the following options:


IPStack.com

Supports 100 requests per month on their free tier, you can find their pricing here: https://ipstack.com/product


IP-API.com

Only for non-commercial use with a limited amount of requests per minute. 


IP-API.com Commercial

Use this option if you are on a paid plan for IP-API.com. Check out their pricing here: https://members.ip-api.com/#pricing


ipinfo.io

They have a limited free tier. You can find their pricing here: https://ipinfo.io/pricing


Cloudflare

When using the Cloudflare GEO IP service no access key is required, but it does depend on the $_SERVER['HTTP_CF_IPCOUNTRY'] being set. When using this service ask your hosting provider to verify this is the case.


Apache GEO IP Module

This service also does not require an access key required, but relies on $_SERVER['REDIRECT_GEOIP_COUNTRY_CODE'] being set. When using this service ask your hosting provider to verify this is the case. 


Access key

This option is required depending on the GEO location service selected in the previous option.


Visit the documentation of the selected service to find your access or API key



Debug Mode

The debug mode is intended for developers or shop owners to verify if the store switcher is correctly suggesting the expected shop based on a static IP address provided for testing purposes.

Debug mode enabled

Use this setting to quickly toggle debug mode on and off. Note that Debug IP needs to be filled out for the debug mode to function.

Debug IP

Enter a debug IP address for a specific country to mimic a customer visiting your shop from that country.

You can use a site like https://www.webpagetest.org/addresses.php to find such an IP address.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article