mod_geoip

Used to map IP addresses to geographical locations.

This modules uses the freely available MaxMind databases for the IP mapping. The database is updated automatically.

For downloading the database you need a License Key from MaxMind. The License Key can be generated after registering with MaxMind.

The obtained license key can be configured in the erlang.config file with:

{locus, [
    {license_key, "YOUR_LICENSE_KEY"}
]}

The above license key can be overruled in the zotonic.config file using the maxmind_license_key key.

Edit on GitHub

Filters

ip2country

Maps an IP address to a country using the MaxMind GeoIP2 database.

ip2geo

Maps an IP address to information about that country.