Geolocation Settings
ConsentMagic uses geolocation to decide which consent rule a visitor should see (GDPR vs. LDU/CCPA vs. Rest of World). This page connects ConsentMagic to MaxMind GeoLite2, so location detection is accurate and updated automatically.
Geolocation settings
MaxMind Account ID
Your MaxMind account identifier. It’s used together with your license key to download the GeoLite2 database.
License key
Paste your MaxMind GeoLite2 license key here.
- License key: Activated = ConsentMagic can successfully download/update the database.
- The note on the page mentions it may take a few minutes after adding/changing the key before it becomes active.
There’s also a Deactivate button to disconnect MaxMind (stops future downloads).
Enable geolocation
Master toggle for geolocation-based targeting.
- ON: rules can target visitors by country/region (based on IP lookup).
- OFF: location targeting won’t work (rules won’t be able to rely on geo detection).
Database file path
Shows where the GeoLite2 database file is stored/served from (the plugin’s database source path). This is mostly informational.
How often to download the files
Controls how frequently ConsentMagic refreshes the MaxMind database (example shown: Monthly). Regular updates matter because IP-to-location mappings change over time.
Force update database
Downloads the latest database immediately (useful after:
- adding/updating your license key
- enabling geolocation
- wanting a fresh database right now)
Instructions for creating a MaxMind license key
The lower section is a built-in guide (collapsible) that walks users through:
- creating a MaxMind account
- generating a GeoLite2 license key
- pasting the key into ConsentMagic
- confirming the database download works