MaxMind Geolocation Integration

WooCommerce allows shop owners to automatically geolocate customers and display proper tax rates and shipping methods specific to the customer’s location.

In order to determine the correct customer location, WooCommerce is integrated with MaxMind Geolocation, allowing WooCommerce to download the most recent geolocation database. Starting in WooCommerce 3.9, geolocation is enabled via the WooCommerce MaxMind Geolocation Integration.

Note: You can only generate 25 license keys on MaxMind. However, it seems that the same license can be used on multiple stores.

Setting up the WooCommerce MaxMind Geolocation Integration:

  • Go to: WooCommerce  > Settings > General
  • Scroll to: General options
  • Next to “Default customer address”, choose “Geolocate” or “Geolocate (with page caching support)”

WooCommerce general settings page

After geolocation is enabled, it’s necessary to configure the MaxMind Geolocation in the integrations tab on WooCommerce’s settings page. Below is explained how to do this.

Create an account on MaxMind ↑ Back to top

1/ To create an account on MaxMind Geolocation, go to: https://www.maxmind.com/en/geolite2/signup.

2/ On the registration page, complete the form with your information, like name and company name. If you are not sure what to choose as “Industry” and “Intended use” fields you can fill as “eCommerce” and “Price localization” respectively.

MaxMind sign up form

3/ After submitting you’ll get an email with a link to set your password shortly. Click on that link and choose a password.

MaxMind set password form

Create a MaxMind License Key ↑ Back to top

Now that you have an account on the MaxMind website you will be able to create a license key.

MaxMind license keys page

Next, fill in the form to generate a license key.

  • Add a description (just as the name of your store)
  • Choose “No” next to “Will this key be used for GeoIP Update?”
  • Select “Confirm”.

MaxMind confirm license key page

You will be presented with a new key. Copy this key straight away as it will be shown only once.

MaxMind license key created page

Add MaxMind Geolocation License Key to WooCommerce settings ↑ Back to top

Finally, you need to add this key to your WooCommerce settings.

  • Go to: WooCommerce > Settings > Integration > WooCommerce MaxMind Geolocation
  • Paste the license key
  • Select “Save changes”

MaxMind Geolocation integration page

Now your WooCommerce store is ready to geolocate customers with the MaxMind Geolocation Integration.

WooCommerce - the most customizable eCommerce platform for building your online business.

Back to the top