If you want to gather web statistics by countries (not by top-level domains) or implement targeting, here is solution: ip2cc. This module allows to resolve country from IP address. The main advantage of ip2cc comparing to others (e.g. GeoIP) is that you can update database yourself whenever you want. Requires nothing except python with its standard library. Can work as CGI.
Log in to post a comment.