GetGeoIPCountryForIP (open)
Quickly look up just the GeoIP country for an IP address
Syntax
LOADLIB "mod::publisher/lib/analytics.whlib";
STRING FUNCTION GetGeoIPCountryForIP(STRING ip_addr)Parameters
STRING ip_addrIP address to look up
Return value
STRINGCountry code, in uppercase, eg "NL"