Monday, April 23rd, 2007...7:40 am
Display Advertising Without Annoying Your Regular Readers
What I’m going to show you is a simple method to target advertising at search engine visitors only.
Why would you do that?
- You keep ads away from your regular readers as well as any targeted traffic you get - ie. visitors following a link from another blog.
- You only show advertising to people who are the most likely to actually click on an ad.
- If these visitors do decide to explore your site further, they won’t be exposed to any more advertising.
- It’s an easy way to experiment with ad placement.
Make sure you backup any files you plan on making changes to.
The code itself is very simple - it checks to see if the visitor came from a Google search page, and if so displays whatever you want them to see - be it an ad or some other message.
<?php
$referer = $_SERVER['HTTP_REFERER'];
$url = strtolower(urldecode($referer));
if ( eregi(”www\.google((\.[a-z]{2,3}){1,2})[/\]search”,$url) )
{ ?>
INSERT YOUR AD CODE HERE
<?php } ?>
You can add this code anywhere you like but because most search engine traffic will be arriving on single pages that is probably the best place to put it, but its up to you.









23 Comments
April 23rd, 2007 at 10:17 am
Nice tip, but I was thinking that this idea could be extended by using the landing site plugin for wordpress.
The plugin handles a lot of search engines including google and with a small tweak in the plugin code you probably could get the same result.
April 23rd, 2007 at 10:23 am
Good idea Venu. I think I’ll go check it out.
April 23rd, 2007 at 12:00 pm
Thanks Venu… May be even I need to check that out..
April 23rd, 2007 at 7:22 pm
Venu is definitely on to something. I use ads on my site, but with a plugin, I’d consider using this function. I’d imagine my regular readers don’t click on my ads anyway. But I could be wrong.
April 24th, 2007 at 7:34 am
I’m one of your readers and I really think that is not so bad see ads while they don’t bother the navigation, no popups, floating divs, etc. Is the way that you earn some revenue for your hard blog work.
Regards
a reader
April 24th, 2007 at 7:37 am
It’s me again, now, sorry Derrich, but I saw your website http://www.derrich.com/ and the way that you have the ads makes hard to read the article. At least is my point of view.
Regards
Rodrigo
April 24th, 2007 at 8:25 am
Thanks for the feedback, Rodrigo. In what way? I’ve tried placing them on the left side versus the right…although it’s not much different from other bloggers (the way I have it now), I’m open to suggestions.
April 24th, 2007 at 8:33 am
Reading thin columns is harder than read a thick one. An the problem is increased when the ad compound by words because they are mixing within the article. My ‘wrong advice’ would be put a Image ad there instead adsense text. That will put a strong limit between the article and the ad and will facilitate the reading.
Regards
Rodrigo
April 24th, 2007 at 8:42 am
Thanks, Rodrigo. I’ve always been told to integrate the text ad to match the content. But I’ll definitely explore that possibility. There are image ads there at times, but to do an image ad exclusively…possibly.
April 24th, 2007 at 11:14 am
I for one have been experimenting with “Image only” ads (before the post content) and the results have been good till now.
April 24th, 2007 at 1:44 pm
Thanks for sharing. I have also been thinking about putting ad’s on my page, but did not want to bother the regular readers with it. This way i can indeed target those readers coming through search engines. I’ll definitely be trying this out sometime.
April 24th, 2007 at 8:39 pm
You lost me on this one. Is there an example of this in a post or a blog using it that we can view to see how it works?
Thanks
April 25th, 2007 at 9:08 am
I’m using it here, but you probably haven’t noticed.
April 25th, 2007 at 9:19 am
Great Dan. Where is it? I sure do not see it.
April 25th, 2007 at 9:21 am
You’ll only see an ad if you arrive on a page from a google search.
April 25th, 2007 at 10:14 am
Thanks Dan. Great stuff.
April 26th, 2007 at 5:12 am
[...] I thought this is a brilliant idea - “Display Advertising Without Annoying Your Regular Readers” by Dan of TheWrongAdvices.com. It is simple [...]
April 26th, 2007 at 4:58 pm
After reading this I sure felt low, I bet I have been annoying my readers and I just started. I just put my my first blog but I have so much to learn and with your help I hope I will eventually be a good advertiser with affiliate programs. I will go and take a look at google search and see whats what! Oh listen I put you down in your technorati favorites sorry it took me so long but I did not even know how to do that. I hope you do not think to less of my blog and you will put me down in your favorites or links or something. I took your advice and joined myblog to see if I could do any good there. listen to excvhange links do I just get your http:// address and put it in somewhere on my blog?Please let me know>
May 15th, 2007 at 8:55 pm
[...] like How To Prevent Your Blog From Leaking PageRank, Six Effective Ways to Build Backlinks and Display Advertising without Annoying Your Regular Readers would appeal to all webmasters and bloggers out there. Dan also shares some coding tricks (for [...]
May 27th, 2007 at 11:19 am
Has anyone tried the code? Because on my machine it does not work. I searched for a certain keyword on google for my website but when I clicked on the link the adsense code did not show up.
August 25th, 2007 at 9:47 pm
This is really good idea. I’m going to upload it right away. Thanks
December 2nd, 2007 at 9:24 pm
I have bookmarked this page for my make money blog! I don’t know much except that those who click on AdWords ads will generally click AdSense ads coz ‘those who click continue to click!’
Is it ok if I just copied the code to wherever its required?
January 2nd, 2008 at 9:05 pm
“After reading this I sure felt low, I bet I have been annoying my readers and I just started.”
That’s a great point lilyruth. I believe you are right, regular readers probably won’t be clicking on your ads anyway, so why not make their visit as clean as possible.
Leave a Reply
You must be logged in to post a comment.