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

Apache Module
C
C# Class
Java Class
MS COM Object
Pascal
Perl Module
PHP Module
Python Class
Ruby Module
VB.Net
Support Center


MaxMind JavaScript Web Service

MaxMind JavaScript is a service offered by MaxMind to return the country of your web visitors.

It uses JavaScript, is easy to program and 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.

E-mail:


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