
MaxMind JavaScript is a service offered by MaxMind to return
the country of your web visitors.
It uses Javascript and is very easy to program, works on both static
and dynamically served web pages.
In order to use this Javascript on your website, a link back to the www.maxmind.com website should be provided,
or a Javascript attribution-free license can be purchased for $250/year.
The uptime for the Javascript service is about 99.95%.
Example:
Country Code:
Country Name:
Source code:
<script language="JavaScript" src="http://j.maxmind.com/app/country.js"></script>
<br>Country Code:
<script language="JavaScript">document.write(geoip_country_code());</script>
<br>Country Name:
<script language="JavaScript">document.write(geoip_country_name());</script>
Mailing List:
If you use the code on your website, please sign up for our Javascript mailing list.
This is a low-volume mailing list with announcements regarding any new features
or API changes.
|