How to Set Up MaxMind Geolocation in WooCommerce

WooCommerce uses the free geolocation service MaxMind to help your eCommerce website calculate and display shipping methods and tax rates per the customer’s IP address. The service used to activate automatically, but now you have to register and integrate MaxMind manually. 

In this article, you’ll learn how to:

Enjoy fast, secure hosting optimized for your WordPress website with our WordPress Hosting!

Create a MaxMind Account

The first step to activating the geolocation service is to create an account with MaxMind. To create an account with MaxMind:

  1. Navigate to MaxMind.
  2. Enter your information and then click Continue. For the Industry and Intended use fields, most users can choose eCommerce and Price localization respectively.
  3. Once the form has been submitted, you will receive an email to set up your password.
  4. Navigate to your email and click on the link to set up your password.
  5. Enter your new password, then click Reset password.
  • maxmind account creation form
  • Setting password for maxmind

Create a MaxMind License

Once you’ve logged into your newly created MaxMind account, to create your license key:

  1. Click on My License Key in the left sidebar menu. 
  2. Click Generate new license key on the License Keys page.
  3. Add a descriptive name for your key in the License key description field. If you have multiple WooCommerce stores, add the name of your store instead of simply ‘WooCommerce.’
  4. Select No for Will this key be used for GeoIP Update.
  5. Click Confirm.
  6. The next screen will show your MaxMind license key. Copy it immediately as it will only be shown once. 
  • create max mind key
  • name maxmind key
  • generate max mind key

Add MaxMind License Key to WooCommerce

The last step is adding your new MaxMind key to WooCommerce. To complete the process:

  1. Login to WordPress Dashboard.
  2. Navigate to WooCommerce>Settings>General.
  3. Under Default customer location, make sure Geolocate is selected.
  4. Next, navigate to WooCommerce>Settings>Intergration>MaxMind Geolocation. (You may need to update your WooCommerce plugin if it is not version 3.9 or higher.)
  5. Add your MaxMind license key, then click Save changes.
  • turn on geolocate in WooCommerce settings
  • add maxmind key to woocommerce

With MaxMind geolocation set up and ready to go, check out more WooCommerce tips and tricks in our WooCommerce Education Channel!

Was this article helpful? Let us know!