# Geolocation Integration

With Geolocation Integration, you can choose to display GDPR Cookie Notice bars only to EU users or CCPA Notice only to California state users.

This page shows how you can integrate the MaxMind License key for geotargeting.

You will be seeing a Notice to integrate MaxMind License Key.

![](/files/Iyp0C0Gren3RLf19DF0f)

Please  follow the below steps to generate and integrate the MaxMind License Key with

* Register using link <https://www.maxmind.com/en/geolite2/signup>
* Navigate to Services > License Key area in MaxMind account. You can click here to directly access the page <https://www.maxmind.com/en/accounts/current/license-key>
* Click on 'Generate new license key' button.
  * Select 'No' for message 'Old versions of our GeoIP Update program use a different license key format. Will this key be used for GeoIP Update?'

![License key](/files/-M6dAzOHEUZfZvH8_PcG)

* Generate the License Key and keep it safe, This is the only time you will be able to access license key once it is created. Don't worry you can create new keys if needed.

![Create License key](/files/-M6dB_MMyVwXFYCwLLRD)

* Once you get the License key, navigate to WordPress Dashboard > GDPR Cookie Consent > Integrations and add your key.

![](/files/6goDMl10RiNZimxz3wvq)

{% embed url="<https://youtu.be/hrfSoFjEpzQ>" %}
**How to use the geotargeting feature**
{% endembed %}

The integration page also provides a link and a video to help you configure and setup your MaxMind key easily.

That's it. You have successfully integrated your MaxMind License key with GDPR Cookie Consent Pro.

### Next Steps

After you have integrated the MaxMind license key, you can go to **GDPR Cookie Consent > Cookie Settings area> Compliances tab** and enable the visitor conditions options to start showing the notices based on the user's geolocation.

![](/files/sc2hupwXW0JQWkl3aNgz)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wpeka.com/wp-gdpr-cookie-consent/integrating-free-maxmind-license-key-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
