Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Geoip module for Zotonic -- Uses the maxmind database.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 deps
Octocat-spinner-32 models
Octocat-spinner-32 Makefile
Octocat-spinner-32 README
Octocat-spinner-32 mod_geoip.erl
README
mod_geopip
==========

Introduction
============

Use maxmind's excellent geopip database to see from what area of the world your website visitors 
are from.

Installation
============

Download a recent geoip database file GeoLitecity.dat.gz from Maxmind, and place it in a directory 
named deps/egeoip/priv

The database can be downloaded from: 

http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz

Start the module in Zotonic's admin interface.

Usage
=====

Lookup available information for ip-addreseses

{{ m.geoip["80.69.73.11"] | pprint }}
Something went wrong with that request. Please try again.