MaxMind
Support My Account FAQ My Order
Support My Account FAQ My Order



MaxMind Javascript Web Service

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, you must provide a link back to the www.maxmind.com website.

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.

E-mail:

The uptime for the Javascript service is about 99.95%.


MaxMind, GeoIP and related marks are registered trademarks of MaxMind, Inc.
Copyright © 2008 MaxMind, Inc. All Rights Reserved. Terms of use.