The team at is announcing their newest free plugin for the OpenX Ad Server: Geolocation Magic Macros.

Geolocation Magic Macros pluginfor OpneXThe Geolocation Magic Macros plugin for OpenX, Magic Geo in short, enables you to dynamically insert the name of the geographic location of a visitor into a banner. This can be used in both the HTML code and the destination URL. Using this new feature, you can automatically make a banner adjust its content to the location of a visitor.


The banner below demonstrates this by showing your country name and country code, and the name of the continent, and a link to a Wikipedia article about your country.
// <![CDATA[
var m3_u = (location.protocol=='https:'?'':'');
var m3_r = Math.floor(Math.random()*99999999999);
if (!document.MAX_used) document.MAX_used = ',';
document.write ("”);
// ]]>

The code used in this HTML banner looks like this:
You are currently in <a href="{}" title="read about {} on Wikipedia" target="_blank">{}, country code {geo.country_code}</a>, which is part of {geo.continent}.

More information and download

There is a product page containing all information, documentation and a link to download this free Geolocation Magic Macros plugin for OpenX.