If you monetize your WordPress based site using Google Adsense or any similar advertising programs, then you should consider showing ads only to search engine visitors. This is because of two very related things,
Firstly, people coming through search engines are more likely to click on ads as they are generally looking for a solution to a problem.
Secondly, if you get too many clicks from non-search engine visitors, Google will smart-price your site. This means that you will get very less earnings per click. Google smart-prices websites to prevent fraud and also to make sure that the advertisers get a good return on their investment as search engines visitors are more likely to convert compared to casual web surfers.
Considering these factors, you should definitely consider displaying ads only to search engine visitors. Its easy to implement in a WordPress website.
• Add this code to the functions.php file of your WordPress theme.
$ref = $_SERVER['HTTP_REFERER'];
$SEs = array('/search?', 'images.google.', 'web.info.com', 'search.', 'del.icio.us/search', 'soso.com', '/search/', '.yahoo.');
foreach ($SEs as $source) {
if (strpos($ref,$source)!==false) return true;
}
return false;
}
Here $SEs is an array that has all the popular search engines. You can add/remove search engines by editing elements of $SEs array.
• After adding the above above code to the functions.php file, use the following code in the template files, wherever you want the ad to be displayed.
if (agentwp_adsforSEvisitors()) {
//INSERT YOUR AD CODE HERE
}
}
That’s it. Now the ads will be displayed only to search engine visitors.
Try this on your WordPress website and you will notice a decrease in the number of clicks on your ads, but a surprising increase in the earnings.