Last Post
Popular Posts
Feed Analysis

 Powered by Max Banner Ads 

Plugin WhyDoWork For Adsense Improved

Written by Alfonso Muñoz on May 21, 2008 – 4:19 pm

In my last post, Social Traffic vs Search Engine Traffic, I explained the difference between these kind of traffic and told you that search engine traffic was better because it has more possibilities. Now that we are taking our fists steps into Adsense stop for a moment and think about which of them, social traffic or search engine traffic, is better for Adsense. If you chose the second one great! this is the correct answer. Search engine traffic comes because your blog is the result of a search and so if you show some related ads in the same page there is a possibility that the visitors click on the ads making you earn some money. On the opposite side social traffic probably will not click on any ad and this is not the worst part. If you show them ads but they don’t click on it your CTR (Click Through Rate) will go down and if this happens Adsense might send you worse paid ads.

NOTE: CTR or Click Through Rate is the percentage of clicks/views. If you showed and ad 100 times and there were 2 clicks you have a CTR of 2%

So we want to show Adsense. You can place Adsense code directly on your php code but it is easier if you use a plugin. Between all the plugins I have tested (3 or 4) I chose WhyDoWork because it provides some interesting features and you can get the standard version from the author page. The problem is that it doesn’t have the “only for search engine traffic” feature so I have modified it to add it.

First of all you have a new option to show Adsense to all traffic or only to search engine traffic:

whydowork searches modified by Binary Ant Dot Com

There is a little problem (solved later). When a visitor come from a search engine he only see Adsense in the first page he visits but when he change to another page Adsense will no longer appear. I solved it with php sessions. This way Adsense is shown to this visitor during the time he is in the blog.

You only have to install the plugin and add a few lines of code on top, this is very important, of the header.php. This is because the sessión must start before any information is sent to the browser of the visitor.These lines are:

<?session_start();
if (!isset($_SESSION[’show_ad‘])){
  $_SESSION[’show_ad‘] = 0;
  if (stristr(getenv(’HTTP_REFERER‘),”google”) OR
    stristr(getenv(’HTTP_REFERER‘),”msn”) OR
    stristr(getenv(’HTTP_REFERER‘),”yahoo”) OR
    (preg_match(’/q=|search/’, $_SERVER['HTTP_REFERER'])))
  {
     $_SESSION[’show_ad‘] = 1;
  };
};
?>

This way we can identify every person who comes from Google, MSN, Yahoo or whatever source with /q= or search in the url (something usual in search engines).

You can download the plugin in this link whydowork of adsense for search engines and with session, and it comes with a instructions file.


Tags:
Posted in Adsense |

9 Comments to “Plugin WhyDoWork For Adsense Improved”

  1. Firsts Results Of My Improved WhyDoWork Plugin | Binary Ant Dot Com Says:

    [...] Your Blog, #1. Comment On Blogs » Twitter As A Traffic Source? Look At Shoemoney » Plugin WhyDoWork For Adsense Improved » Social Traffic vs Search Engine Traffic » Adsense Or Not Adsense » Entrecard [...]

  2. Samsul Says:

    you are right, man. i tried the modified plugin and my ads got clicked through search engine result, the page eCPM is high! although i had to rework the single quote (aprostophe) problem, the plugin is cool. thank you for sharing the knowledge

  3. Alfonso Muñoz Says:

    Hi Samsul you are wellcome

    I’m really glad you found it useful :D . About the apostrophe problem, believe me that I tried different chars, (”) and (’) but for me only works with (’) to open and (‘) to close quotes, I don’t know why…

    What did you change?

  4. Michael Aulia Says:

    Cool! Although quite some work need to be done to make it work, as you said on the PHP code part

    I don’t know..I’m just being too lazy.. do you think by blocking the ads with an ad blocker will improve the CTR?

  5. Alfonso Muñoz Says:

    I understand what you mean Michael. Well, I can´t answer you. I don’t know if an ad blocked counts as an ad view. If so your CTR will go down, the visitor will not click because he doesn’t see the ad but the it will count as a view.

    It is a good question to Adsense support, or you can test it yourself, make an specific block in a local page and run your ad blocker :)

  6. Mobile J Games Says:

    I would suggest another cool feature. Hide ads for regular visitors. ;) May be only first time visitors should see ads.

  7. Alfonso Muñoz Says:

    Hi Mobile J Games :)

    more or less this feature you talked about is done in the plugin. Regular visitors don’t come from search engines so Adsense is not shown to them. Adsense is shown to seach engine visitors, and most of them are usually new visitors.

    If you are a regular visitor but for any reason you entre the blog through a search engine you will see Adsense, but it is not bad at all because you are looking for something especific (remember you come from a search engine) so it is a good oportunity to show you some related ads.

    What do you think? :)

  8. Alex Says:

    Your blog is interesting!

    Keep up the good work!

  9. Google Adsense Personal Identification Number | Binary Ant Dot Com Says:

    [...] Marketing Your Blog, #3. Design Your Own Logo» Does Anyone Want 300 Entrecard Credits?» Plugin WhyDoWork For Adsense Improved» Social Bookmarking RELOADED Plugin» 8 Blogging Tips To Grip Your Readers» Binary [...]

Leave a Comment