Jump to content

Clicks Not Tracked And Geotargeting Not Working

Recommended Posts



a few days ago I installed Revive and yesterday I enabled it on all my websites. Today I noticed two things that aren't working correctly. First off no clicks are tracked and geotargeting is not working.


There are no clicks tracked only impressions. I have the following js code on my sites:


<script type='text/javascript'><!--//<![CDATA[
                 var m3_u = (location.protocol=='https:'?'https://example.com/www/delivery/ajs.php:http://z.n-consulting.be/www/delivery/ajs.php');
                 var m3_r = Math.floor(Math.random()*99999999999);
                 if (!document.MAX_used) document.MAX_used = ',';
                 document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
                 document.write ("?zoneid=1");
                 document.write ('&amp;cb=' + m3_r);
                 if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
                 document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : ''));
                 document.write ("&amp;loc=" + escape(window.location));
                 if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
                 if (document.context) document.write ("&context=" + escape(document.context));
                 if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
                 document.write ("'><\/scr"+"ipt>");
              //]]>--></script><noscript><a href='http://example.com/www/delivery/ck.php?n=a57fe33a&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://example.com/www/delivery/avw.php?zoneid=1&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a57fe33a' border='0' alt='' /></a></noscript>


Isn't this the right code or should I enable some things or ...?


I have also enable the MaxMind GeoIP Plugin and set the path to geoipCityLocation file to the GeoLiteCity.dat file that I recently downloaded from the MaxMind website. However when I add a restriction to a banner and set Geo - Country / City to a country, the banner is no longer served. It appears the Maxmind plugin is not working. How can I debug this problem? Thanks.


Kind regards,



Link to comment
Share on other sites

Thanks for the tip. I installed Mod GeoIP for Apache on my CentOS server following the directions from http://www.perdichizzi.net/?p=315 . But the same problem persists.


I also noticed that revive has registered 1 click, this was on a non Adsense ad. I also have a bunch of Adsense ads and according to the Adsense site I have had clicks, but no clicks where registered by Revive.

Link to comment
Share on other sites

  • 2 weeks later...

You just try by installing geo targeting plugin.If it is already done then configure Geo IP plugin.

For click not being tracked, go to Configuration->Global logging setting, and check whether "Click Everytime.." option is enabled.

Here is a link where you can find Geo Targeting Plugin: http://www.openxmods.com/openxmods/Geo-Database-Installation/prod_1318.html

Link to comment
Share on other sites

I'm new to Revive Adserver and I tried to configure all of my advertisers using Revive. It works create, except Adsense. Sometimes, clicks are tracked but most of the times, no click tracking is done (In the Google Adsense reports there are many clicks tracked, so Revive does not recognize some of them...). Are there any special requirements on implementing the zone javascript or to invoke Adsense displaying zones with IFrames instead of Javascript? I use Javascript for invokation on all my ad zones.


Settings in global logging settings is set to track every click.


Thanks for any help :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...