OIOPublisher Stats Tracker: YES for Banner Ads, NO for Link Ads
October 15, 2008 by admin
Filed under WordPress Plugins
OIOPublisher is a perfect WordPress Plugin for ad management. You can easily sell ad spot in your own blog and it has even the ability to track the stats of the ads (CTR, impression, clicks, and even the geographical location of the clicker). But there will be some changes in the advertisement if the stat tracker is enabled.
If the stats tracker is enabled, this is how the links will look like:
http://www.niessuh.com/wp-content/plugins/oiopub-direct/modules/tracker/go.php?id=28
And If the stats tracker is disabled, this is how the links will look like:
http://www.example.com
So if you are selling text links, there will be some issue. If you will take a look at my ads powered by OIOpublisher, the tracker is enabled in the 125×125 square ads and disabled in the link ads. How did it happen?
I just asked the very kind Simon, developer of OIOpublisher, in their forums. I asked how to enable tracker in banner ads and disable in link ads. And after a few minutes, I got a respond.
For OIOPublisher v1 and above:
- In OIOPublisher plugin folder, go to include/output.php
- Look for the line below under oiopub_sidebar_links function:
if($oiopub_module->tracker == 1 && $oiopub_set->tracker_enabled == 1 && $res->item_id > 0) {
and replace with
if($oiopub_module->tracker == 1 && $oiopub_set->tracker_enabled == 1 && $res->item_id > 0 && $rand == 9999) {
- That’s it! and save your work.
For OIOPublisher v2 and above:
- In OIOPublisher plugin folder, go to include/output.php
- Look for the line below under link zone:
if($oiopub_module->tracker == 1 && $oiopub_set->tracker['enabled'] == 1 && $d->item_id > 0) {
and replace with
if($oiopub_module->tracker == 1 && $oiopub_set->tracker['enabled'] == 1 && $d->item_id > 0 && $rand == 9999) {
- That’s it! And again don’t forget to save your work.
Why you need to do this?
Usually, banner ad advertisers wants impression and clicks so they need to track the stats of their ads while text link advertisers don’t need clicks and impression, what matter to them is the link juice so they don’t need to know how many clicks does their link gets in the blog. In that case, there will be a conflict. One needs tracker and the other don’t so you need to do this for the sake of your advertisers.
Disclosure: Do this at your own risk. I am not responsible to whatever damage will happen in your plugin after doing this. For guidance for this tweakings, please just ask in the OIOPublisher forum instead.


That is interesting. I am not using OIO yet, but will keep this in mind. I think you are on point with your thinking that the text advertisers don’t care about the impressions and are just concerned with the sweet nectar of link juice.
Good stuff!
Freddie´s last blog post..Quote of the Week: Adversity
@Freddie: Because one day, one of my text link advertiser ask if I could remove the tracker in his link.
nice tutorial …thanks
ZK@WebTrafficROI´s last blog post..8 Tips for Effective Site Submission to Directories
I bought OIO earlier today. Had planned on doing it one day. Got to love one time payment resources!!!
Freddie´s last blog post..Blog Action Day 08: Poverty
Interesrting stuff. I haven’t installed mine yet but I’m saving this.
BTW, are OIO 1 buyers supposed to get 2 for free?
Dennis Edell´s last blog post..Contest Over: Prizes Coming - Link Love First!
I am planning to buy OIO when I actively advertise on my site. Will wait until the site Google PR and Technorati rank increase and also the traffic…
Will surely follow your tips
Cheers,
Ajith
Ajith Edassery´s last blog post..Blogging tips for the current market conditions