How To Hide Adsense From Social Traffic

How To Hide Adsense From Social Traffic

Read on to find out How To Hide Adsense From Social Traffic from Stumbledupon, Digg, Technorati, Etc. The secret is to add a little JavaScript around your Ads, so that they will only be displayed if the visitor comes from a search engine. To see this in action, visit this site via search engine and an Adsense ad will replace the banner on top of this post

  • Why Hide your Ads?Hide Social Traffic


There is plenty of authority for hiding your ads from social traffic so you can increase your adsense CTR (from Grizzly’s Make Money Online Blog) and not have a lot of “views” that won’t ever get clicked. Here’s a direct quote from Vic Franqui; “One last thing - if you get a lot of social media traffic don’t run adsense. Only use adsense if you draw targeted search engine traffic”.

  • How It’s Done.

So now you can run Adsense even if you get masses of Social traffic - If you run a WordPress blog you can use the ozh who sees ads plugin, but there is no easy plugin for Blogger or your normal website, so I have made up some JavaScript to use anywhere you want to show your ad to search traffic.

  • Wrap the ad in an “iframe”

Some ads like Amazon have the code already wrapped in an iframe, so all you need do is wrap this (green) Script,  around your ad code (red). The script detects if the referrer is Google, Yahoo, etc and displays the ad.

<script type=”text/javascript”>
<!––
var myArray = [];
myArray[0]= ‘/search?’;
myArray[1]= ‘.yahoo.’;
myArray[2]= ’search.’;
myArray[3]= ‘/search/’;
myArray[4]= ‘images.google.’;
for(var i=0;
i<5;
i++) {
if (document.referrer.indexOf(myArray[i]) > -1)
{
//––>
document.write(’
<iframe src=”http://rcm.amazon.com/e/cm?t=youraccount-20&o=1&p=26&l=ur1&category=computers_accesories&banner=1SKRXV416ZYVKCEGXQR2&f=ifr” width=”468″ height=”60″ scrolling=”no” border=”0″ marginwidth=”0″ style=”border:none;” frameborder=”0″></iframe>‘);
}}
</script>

Substitute your ad code for the code in red above. This will work with any code that is completely wrapped in an iframe.

  • Display Google Adsense

This can be a problem because Blogger, for instance, will overide some scripts you include. The answer is to source the Adsense code from an outside file.  Pop your Adsense ad in a plain html file (adsense.htm); upload it to some place you can access; and call it as the source (src) of an iframe -

<script type=”text/javascript”>
<!––
var myArray = [];
myArray[0]= ‘/search?’;
myArray[1]= ‘.yahoo.’;
myArray[2]= ’search.’;
myArray[3]= ‘/search/’;
myArray[4]= ‘images.google.’;
for(var i=0;
i<5;
i++) {
if (document.referrer.indexOf(myArray[i]) > -1)
{
//––>
document.write(’
<iframe scrolling=”no” style=”width:125px;height:125px;” frameborder=”0″ src=”http://YourSite.com/adsense.htmmarginheight=”0″ marginwidth=”0″></iframe>‘);
}}
</script>


Edit the above URL (dark red text) to point to where you uploaded your adsense.htm file, and adjust the width, height to match your Adsense ad

  • Just Copy and Paste

There you go - paste one of the above sets of script into your web page wherever you want the ad to appear. With Blogger, use an HTML/JavaScript Gadget, or else paste it directly into the HTML template in your header if you prefer.

  • Try it and See for Yourself…..

Click on Site Synergy with Keyword Coherence for my Key Word Coherence site and you will see no ads, but Google (or Yahoo) for keywordcoherence and click on the SERP link to that same site and you will see that a banner ad in the header from Amazon and a Google ad in the side bar have appeared, because the referrer was a search engine.

  • Tips to the Wise….

Be sure to edit the iframe dimensions to match your ad and check that your edit program paste function didn’t put left and right quotes into the script instead of plain quotes. Get that right and you will have learned how to hide Adsense from social traffic!

Update - PHP Alternative

  • If you prefer to code this trick using PHP then do this:

Insert this code where you want the ad to appear
<?php include (’incl_adsense.php’); ?>

- where incl_adsense is this file:

<?php
function searchengine(){
$ref = $_SERVER['HTTP_REFERER'];
$SE = array(’/search?’, ‘images.google.’, ‘web.info.com’, ’search.’, ‘del.icio.us/search’, ’soso.com’, ‘/search/’, ‘.yahoo.’);
foreach ($SE as $source) {
if (strpos($ref,$source)!==false) return true;
}
return false;
}
if (function_exists(’searchengine’)) {
if (searchengine()) {
echo “
<script type=\”text/javascript\”><!–
google_ad_client = \”pub-yourcodexxxxxxx\”;
/* Banner468×60 11/05 */
google_ad_slot = \”xxxxxxx0212\”;
google_ad_width = 468;
google_ad_height = 60;
//–&rt;
</script>
<script type=\”text/javascript\”
src=\”http://pagead2.googlesyndication.com/pagead/show_ads.js\”>
</script>
“;
} }
?>

  • Save Bandwidth:

I find that all these ‘plugins’ tend to slow WordPress down too much at loading, so there is a good case for using this PHP alternative rather than a plugin to hide Adsense from social traffic

  • Please notice that where the Google ad script is included in PHP you need to ‘Escape’ all the double quotes - like this: script=”ad text” must be edited to read script=\”ad text\” and change any ’slanted’ quotes like and to vertical quotes like these ” ‘

Update on the Update

This post is getting way too complicated.  I have been asked to upgrade these codes to display an alternative ad to social traffic, so I have made a new post over on my Teaching Blog

Like the Article? Click some icons and SHARE it with others....

  1. Pingback from High Paying Keywords - Adwords - Adsense

    [...] How To Hide Adsense From Social Traffic [...]

  2. Mitch posted the following on October 19, 2008 at 11:47 pm.

    My goodness, that seems like a lot of work, though it’s probably not. I guess I don’t worry all that much about the type of traffic I’m getting for my blogs, as long as I get the traffic, and I don’t get many clicks there anyway. I tend to get more Adsense clicks from some of my other websites, which are drawing people specifically looking for that stuff; thank goodness. :-)
    Mitch´s last blog post..What Makes Twitter Interesting

    Reply to Mitch
    1. Rhys posted the following on October 20, 2008 at 12:09 am.

      Hi Mitch

      You said; “…..which are drawing people specifically looking for that stuff”. You nailed it right there! That’s exactly what this script is all about, ’cause social traffic waters down your CTR and can cost you lots if you get “smart priced”.

      Thanks for dropping in!

      Reply to Rhys
  3. Salwa posted the following on October 20, 2008 at 6:21 am.

    Learned something new here. Thanks!

    Salwa´s last blog post..Three Keys To Successful Goal Settings

    Reply to Salwa
  4. ABloggerBlog posted the following on October 20, 2008 at 10:42 am.

    This is interesting. It is normally more difficult to get traffic from Social Media to click on the adsense therefore greatly reducing the CTR. With this code, bloggers might be able to make a little more income. Thanks for the share.

    Wei Liang

    ABloggerBlog´s last blog post..Lesson 13: Copywriting skills - How To Write The First Sentence

    Reply to ABloggerBlog
    1. Rhys posted the following on October 20, 2008 at 5:26 pm.

      Gidday Wei!

      It is exactly that difficulty that this script helps to overcome. I hope your CTR will improve accordingly.

      Reply to Rhys
  5. Dennis Edell posted the following on October 22, 2008 at 5:32 pm.

    Now this is sweet! I’m saving it if I ever go back to using adsense ;)
    Dennis Edell´s last blog post..Are You Like Jack?

    Reply to Dennis Edell
  6. Dennis Edell posted the following on October 22, 2008 at 5:35 pm.

    Can you show me how to subscribe to your feed via email?

    Dennis Edell´s last blog post..Are You Like Jack?

    Reply to Dennis Edell
  7. Rhys posted the following on October 22, 2008 at 5:37 pm.

    Hi Dennis -

    Nice to see you again, of course the script works with anything, not just Adsense……

    Reply to Rhys
  8. Rhys posted the following on October 22, 2008 at 5:41 pm.

    @Dennis

    Same answer as for my other blog at WeBlog I will set up an auto adviser and you should get notification automatically.

    Reply to Rhys
  9. Larry posted the following on October 24, 2008 at 11:56 am.

    Learn something new everyday, Thanks for the Tip!

    Larry´s last blog post..Tips On Writing Amazing Blogs

    Reply to Larry
  10. Blog for Beginners posted the following on October 25, 2008 at 11:47 am.

    My goodness you really know your stuff, Rhys. I hate social traffic as it always causes some issues with my hosting whenever stumble traffic invades my blog. It’s time to move to VPS now..

    Anyway, good to see you, Rhys..

    Yan

    Blog for Beginners´s last blog post..Ask My Readers #1

    Reply to Blog for Beginners
  11. Rhys posted the following on October 25, 2008 at 6:22 pm.

    @ Yan!

    Good Morning to you too. Thanks for dropping by.

    BTW. I give you 10/10 for courage with your latest post (AskMy Read…..), and I suspect it will produce real gold in ‘feedback’.
    ;-)

    Reply to Rhys
  12. mcguillan posted the following on October 29, 2008 at 11:09 am.

    Their are many ways to hide adsense, you can just implement the referer detection in your php-code directly. This way it is even more controlable..

    mcguillan´s last blog post..Backlinkgeil - Oder Spammen statt Kommentieren

    Reply to mcguillan
  13. Rhys posted the following on October 29, 2008 at 8:58 pm.

    @mcquillan

    Indeed PHP is good, I use php on this blog to do just that, but the point of this particular script was to use a client-side script, rather than a server-side script because it is much easier for those ‘copy and paste’ users, and it works on Blogger, etc, where there are blocking codes that prevent server-side scripts working.
    ;-)
    Rhys´s last blog post..How To Hide Adsense From Social Traffic

    Reply to Rhys
  14. Trackback from bloggingzoom.com

    BizBlog » Blog Archive » How To Hide Adsense From Social Traffic…

    Discover How To Hide Adsense From Social Traffic and so prevent your Adsense rewards getting ‘Smart Priced” by Google.

    Social sites like Stumbleupon can send you lots of traffic, but statistically it doesn’t ‘convert’ and you CTR can drop very …

  15. mosh posted the following on October 30, 2008 at 8:17 pm.

    Hello
    its nice trick
    but i think its much better to do it in php
    smth like that:

    if (traffic form serps or $_COOKIE['myads']) {
    show ads;
    put or update $_COOKIE['myads'] timelife;
    }

    Reply to mosh
  16. central coast california real estate posted the following on November 7, 2008 at 4:05 am.

    I love the ozh who sees ads plugin that I use on my word press blog. But I also have a Blogger site & this post of yours was exactly what I was looking for! Unfortunately, so far I just can’t quite figure out how to get an htm file of my adsense code onto my server so I can point to it in your code here for my blogger site.

    central coast california real estate´s last blog post..Santa Barbara Homes for Sale

    Reply to central coast california real estate
  17. Rhys posted the following on November 7, 2008 at 6:55 am.

    Hi Centralcoast……

    Do a search for free upload hosting and choose one that suits you; or try this one pick one off this list here: http://www.geekuploads.com/index.php
    (Free upload sites are NOT suitable)

    Edited 11th Feb 09 - ;-)

    Reply to Rhys
  18. Chewbacca posted the following on November 11, 2008 at 6:12 pm.

    This is an awesome post. Thanks for the blogger code. This should be a huge help. Social traffic sucks and most of my sites don’t get it, but its still a nice chunk of code to add when you need it.

    Chewbacca´s last blog post..Get backlinks that are strong

    Reply to Chewbacca
  19. Rhys posted the following on November 11, 2008 at 6:23 pm.

    Hi Chewbacca -

    I know it’s hard to find functional code for Blogger, so I’m happy to be of help.

    I endorse your point that we ought to “get backlinks that are strong“!

    Rhys´s last blog post..CommentLuv Guarantees Premium Keyword Backlinks

    Reply to Rhys
  20. Rhys posted the following on November 20, 2008 at 4:03 am.

    @CCCRE(above)

    Whoops, Word Press edit tool suppressed the second hyphen in the comment code of the posted script, so it looked like this <!–
    instead of this <!––

    It is now corrected - Rhys

    Reply to Rhys
  21. central coast california real estate posted the following on November 22, 2008 at 12:31 pm.

    Thanks for the correction! This is awesome! I inserted your code on my Blogger blog, and its working like a charm!

    There is no other place on the internet (trust me, I searched!) where you can get a free code for this function to use on Blogger. What a valuable tool! Anyone on Blogger who wants to increase their CTR and has social traffic absolutely needs to have this! Thanks for putting this together, Rhys, and thank you for your personal attention and help to me! You rock!

    central coast california real estate´s last blog post..Central Coast California Home Loans

    Reply to central coast california real estate
  22. webkinz posted the following on December 2, 2008 at 1:58 am.

    Wow, it’s a nice idea to show ads just for search engines traffic. I’ve tried to block ads for some social networks before but this way is much broader. I’ll try it on 1 of my blogs.

    webkinz´s last blog post..Virtual Images for January Webkinz 2009

    Reply to webkinz
  23. Adventurous Wench posted the following on December 3, 2008 at 3:04 am.

    Wow - I’ve never heard of this before! I had no idea that you should hide AdSense from some visitors, let alone how to do it. I’m happy I ran across your blog, and I’ll have to look into implementing this tip. Thanks!

    Adventurous Wench´s last blog post..So there we were.. power lounging at White Bay

    Reply to Adventurous Wench
  24. Seaward posted the following on December 29, 2008 at 4:30 am.

    sounds interesting and seems to be a nice trick.

    Reply to Seaward
  25. Geoserv posted the following on January 6, 2009 at 8:12 pm.

    STUMBLED!

    This is a great idea. Thanks for the idea and code.

    Geoserv´s last blog post..Where’s my Pagerank?

    Reply to Geoserv
  26. KC Concepcion posted the following on January 19, 2009 at 8:17 am.

    Upon reading this, I realized my site is a ‘victim’ of social traffic. My adsense impression is high but the CTR is a nightmare. Mine is a static website (not blog) and I use PHP. Can anyone show me the PHP code to do this stuff? I prefer to use PHP if somebody can show me the code.

    Great article indeed!

    Reply to KC Concepcion
  27. Rhys posted the following on January 20, 2009 at 3:47 am.

    @KC Concepcion

    Funny you should ask - I originally coded this in PHP, but went to JS because it suited all the bloggers.

    I have updated the post with the relevant code attached.

    Hope this helps - Rhys

    Reply to Rhys
  28. KC Concepcion posted the following on January 20, 2009 at 10:25 am.

    @Rhys

    Sir thank you very much, it’s really a big help for a newbie like me. More power and God Bless..

    Reply to KC Concepcion
  29. Make Money Online with SEO posted the following on January 21, 2009 at 5:40 am.

    Hi Rhys,

    I’d forgotten you’d done this then saw your comment in Griz’s with the link.

    I’ve been using the ozh who sees ads on my WP sites but had to swallow the social traffic on my blogspots and static sites and even withhold adsense on some, so this is a really useful piece of code for me.

    Thanks man!

    Terry Didcott

    Reply to Make Money Online with SEO
  30. Rhys posted the following on January 21, 2009 at 6:34 am.

    @ Terry -

    You’re very welcome - we keep that ’smart pricing’ at bay - Right?
    ;-)
    Rhys´s last blog post..CommentLuv Guarantees Premium Keyword Backlinks

    Reply to Rhys
  31. Pingback from Show Adsense To Search Visitors Only - On Blogger | More Than Scratch The Surface

    [...] writing much of this post, I came across an alternative solution from Rhys, which places Adsense within an IFrame. This gets around the problems mentioned above and should allow you to use the HTML/JavaScript [...]

  32. Stephen Cronin posted the following on January 31, 2009 at 8:30 am.

    Hi Rhys,

    Greetings from Brisbane…

    Just finished the post I’ve been working on for a couple of weeks on how to show ads only to search visitors on Blogger (after reading Grizzly’s post).

    I use a different method from the one you show above - your method is much simpler, but I’m a bit worried about the IFrames and relevency of the ads. From your Blogger site, the ads look relevant, but I’d be interested in hearing your thoughts on this!

    Anyway, thanks and take care.

    Stephen Cronin´s last blog post..Blogger - How To Add Adsense Inside Single Posts Only

    Reply to Stephen Cronin
  33. Rhys posted the following on January 31, 2009 at 9:06 pm.

    Hi Stephen!

    Return greetings from Sth Australia.

    I was encouraged to use iFrames when I noticed that Amazon do. (Figured they were likely to know what they were doing!)

    The Adsense server draws its info from the page that invokes it, so the iFrame surround will not compromise the relevance.

    This is a really simple code-set, very suitable for Bloggers who generally tend to be non-geek.
    ;-) - Rhys

    BTW, it works for any ads, not just Adsense, there is some value in NOT hitting your core readers with advertising.

    Reply to Rhys
  34. Stephen Cronin posted the following on February 1, 2009 at 8:28 am.

    Hi Rhys,

    I just responded to your comment on my post, but I’ll paste the crux of it here:

    I would have thought that the Adsense bot would wait until it’s called by a page (ie by the ad unit), then use the referrer information to crawl the page to see what it’s about. The referrer information would contain the URL for the IFrame, not the URL for the page that has the IFrame embedded. I guess the Adsense bot just crawls your site page by page rather than use the referrer.

    Anyway, your method is much simpler and it seems to work, so I’m happy to recommend it.

    Best of luck for 2009 and I’m sure I’ll see you around more (I lurk on Grizzly’s blogs, but don’t comment much).
    Cheers,
    Stephen

    Stephen Cronin´s last blog post..Blogger - How To Add Adsense Inside Single Posts Only

    Reply to Stephen Cronin
  35. High yeild savings posted the following on February 3, 2009 at 8:23 am.

    Great tip. Most people never bother making code for blogger they always make it for wordpress. I wonder if not showing ads on image search would increase earnings also. I do not think they click many ads so it would be interesting to see if you earn more not showing ads when someone finds site from image search.

    High yeild savings´s last blog post..Best high yield certificate of deposit rates.

    Reply to High yeild savings
  36. Aaron posted the following on February 3, 2009 at 11:10 am.

    This is the perfect solution to using WP-Super-Cache on your wordpress blog. Super Cache is incompatible with the Who Sees Ads plugin as it creates completely static pages with no ability to use PHP on the fly. Letting JavaScript do the work will keep the pages cached and static, but still enable ads to be shown only to search engine visitors.

    Aaron´s last blog post..Finding Cheap Airfare

    Reply to Aaron
  37. Rhys posted the following on February 3, 2009 at 9:47 pm.

    @High yield savings

    Very interesting point: I haven’t actively considered that before, but had wondered about some of my sites where there is a lot of Google Image searches showing on the stats.

    There is an easy cure - delete [or comment out] this line from the code:

    “myArray[4]= ‘images.google.’;”

    @Aaron

    Perhaps you could put up a post about that for the benefit of other WP-Super-Cache users ;-)

    Reply to Rhys
  38. Anonymous posted the following on February 7, 2009 at 7:01 pm.

    Will this put your adsense account in risk?

    Is it considered editing the code?

    I already lost my BH adsense account and don’t want to risk my WH adsense account getting banned haha.

    Reply to Anonymous
  39. J posted the following on February 7, 2009 at 10:20 pm.

    Tried this with geocities, didn’t work. Tried the link you suggested, geekuploads, but they didn’t allow uploading htm files :(
    Any other suggestions where I can upload? I use blogger and don’t really have my own website.

    Reply to J
  40. Shanker Bakshi posted the following on February 9, 2009 at 12:33 pm.

    YES I have seen few other guys doing that Trick of hiding AdSense from Social Media Sites traffic.

    Shanker Bakshi´s last blog post..Twitter Limits Following to 2000 People

    Reply to Shanker Bakshi
  41. Rhys posted the following on February 11, 2009 at 12:18 am.

    @ Anonymouse

    The code is not changed in any material way.

    @J

    How in the Heck am I supposed to respond to your question if you don’t put your e-mail address??

    However, for the benefit of other users, here goes:

    I tried all the free file upload sites and none of them are any good, they either don’t allow hot-linking, or they ban files with html or php.

    Answer = sign up with a Free Hosting site (I used awardspace.com with no problems); upload your Adsense ad file, and link to it from Blogger.

    It takes maybe half an hour to set it up, but you have got a free permanent site you can use to store files online, and host anything you want!

    Reply to Rhys
  42. Ken posted the following on February 11, 2009 at 1:10 am.

    Hi Rhys,

    Is it possible to add a ‘else’ statement to the code above (the javascript one) so if the traffic is not from search engine, we can show the visitor another CPM graphic ads or any other stuffs?

    I want to show my regular user something else instead of blank spot at the headline (where the ads reside). :)
    Ken´s last blog post..White Elegant Miseal Mini Palm Sized Projector

    Reply to Ken
  43. Steve McGrath posted the following on February 11, 2009 at 6:28 am.

    Hi Rhys,

    I added something similar(php) on my blog and I’m getting better CPC since then. Like Ken mentioned, a “else” would be nice to show an affiliate banners. Btw, the code I had was different than yours but in the end, it works. :D
    You can use that tip in one of the theme included in MyStarterBlog. Just modified one to your taste. You could have incl_adsense_468_60.php, incl_adsense_300_250.php

    Nice of you to show a Javascript alternative of the code.

    Steve McGrath´s last blog post..My Alternative to WordPress, Joomla, Blogger…: MyStarterBlog

    Reply to Steve McGrath
  44. J posted the following on February 11, 2009 at 6:36 am.

    Through comments Rhys, ’cause I have tons of emails and rarely stick to one. But if you insist lol

    BTW, which one would you recommend? Iframe or php?

    Would this affect the ad relevance at all if I use iframe?

    Currently using PHP method and I get the same ads.

    And is this all legal with google? Just started making money from adsense and I don’t want my precious $8 bucks(haha sad I know) a day getting banned.

    Oh and I actually feel less like a sleezebag when I get links from do follow comments, because the ads are going to be hidden when they click on my site to check LMAO. :P

    Reply to J
  45. Rhys posted the following on February 11, 2009 at 6:43 am.

    @J

    PHP is good.

    I don’t find any specific reference in G’s TOS, but the ’spirit’ of this script is good - after all the effect is to display Adsense ONLY to search traffic -can’t ask for better than that!

    ;-)

    Reply to Rhys
  46. Rhys posted the following on February 11, 2009 at 6:53 am.

    @Ken -

    Great idea - I’ll have a play with that tomorrow when I wake up.
    8-)

    Reply to Rhys
  47. Ken posted the following on February 12, 2009 at 6:50 pm.

    Hi Rhys!

    Looking forward to your ‘play’ since I don’t understand javascript. ;)
    One more feature that pretty important is to add cookie to the searcher who found our site through search engine. Stephen Cronin at his post about Avoiding smart pricing has the solution but too bad it’s PHP driven, which mean if you are using cache plugin, it won’t function properly (correct me if I’m wrong).

    Most of user have around 2 pageviews per visit, which mean it’s kind of leaving the money on the table to only displaying ads in the first page while user will leave the page after browsing for awhile…

    Ken´s last blog post..GScreen Intros New Dual Screen Laptop

    Reply to Ken
  48. Rhys posted the following on February 13, 2009 at 7:59 am.

    @Ken

    and Goldurn it! You are raising un-ignorable issues here. I totally agree with your points; So I guess I have to address them.

    I have done two sets of code, JavaScript and PHP. You will find them here on my teaching Blog.

    Both Scripts will display an Adsense ad to Search Traffic and an alternative banner to Social Traffic;

    Enjoy :-D

    Reply to Rhys
  49. Ken posted the following on February 13, 2009 at 8:17 pm.

    I really enjoy it! Thanks Rhys! :)
    Btw, the link is not working, [edit = now fixed - Rhys]I was using the “view page source” to get the link to your How to hide adsense post.

    Again, thanks for your hard work to code for us! Really appreciate it.

    Ken´s last blog post..Acer X960 and Acer DX650 VGA HSDPA Smartphone Leaked

    Reply to Ken
  50. JD posted the following on February 21, 2009 at 8:40 pm.

    This is a very helpful. I don’t necessarily need to use this for adsense but I had other things I want to show or not show based on where someone comes from. Mainly I am concerned about showing pictures and other content on a site I have. I’m not a great computer program but I may be able to sue what you have here to solve my problem.

    Thanks!

    JD´s last blog post..Australia’s Kwongan Heathland

    Reply to JD
  51. Rhys posted the following on February 21, 2009 at 10:16 pm.

    @JD

    You are on to it! You can adapt this code to display whatever to whomever - just change the referrer criteria to whatever you like………..

    Reply to Rhys
  52. Pingback from Show Adsense using Javascript and Hide it from Social Traffic…

    [...] something interesting and I think it would be a great share here. There is a tips that I found it here to show adsense using javascript to search engine traffic which have a good CTR, and hide them from [...]

  53. jessica mcbrown posted the following on February 23, 2009 at 7:15 am.

    hello i try to use your code but i get some error maybe smart quote issue i am not sure can you please help me i have got tons of traffic from google image search i want traffic but i do not want to show adssense ads so is it possible to get code without smart code issue

    jessica mcbrown´s last blog post..did elisabeth hasselbeck have her baby

    Reply to jessica mcbrown
  54. Adsense Tips posted the following on February 25, 2009 at 3:29 pm.

    Great post!
    I’ve been looking for this for some time now! Some good way to do this. Another solutuon would be by doing it in the backend in php for instance, but this works just as well probably

    Anyways, thanks again.

    Keep ehm coming

    Adsense Tips´s last blog post..Simple Trick that can Double your adSense CTR

    Reply to Adsense Tips
  55. Rhys posted the following on February 27, 2009 at 9:55 pm.

    @Jessica

    Here is the code with the smart quotes removed and edited to hide the ads from Google Images. Copy and paste it to your page.

    <script type="text/javascript">
    <!–
    var myArray = [];
    myArray[0]= '/search?';
    myArray[1]= '.yahoo.';
    myArray[2]= 'search.';
    myArray[3]= '/search/';
    for(var i=0;
    i<4;
    i++) {
    if (document.referrer.indexOf(myArray[i]) > -1)
    {
    //–>
    document.write('<iframe src="http://rcm.amazon.com/e/cm?t=youraccount-20&o=1&p=26&l=ur1&category=computers_accesories&banner=1SKRXV416ZYVKCEGXQR2&f=ifr" width="468" height="60" scrolling="no" border="0" marginwidth="0" style="border:none;" frameborder="0"></iframe>');
    }}
    </script>

    P.S., Don’t forget to change the ad code to your own ad code!

    Rhys´s last blog post..CommentLuv Guarantees Premium Keyword Backlinks

    Reply to Rhys
  56. Black mold removal posted the following on March 2, 2009 at 6:14 am.

    That is a great idea. I wonder how it effects ads shown on site if they are in a frame. Could you make ads show different ones than keywords on page they are shown.

    Black mold removal´s last blog post..Mold removal.

    Reply to Black mold removal
  57. freestuff posted the following on March 2, 2009 at 6:19 am.

    I wonder if putting ads in iframe would effect ads shown. How does it know what keywordds or ads to show.

    freestuff´s last blog post..Freeloans

    Reply to freestuff
  58. Kawasaki motorcycles posted the following on March 2, 2009 at 11:30 pm.

    It is normally more difficult to get traffic from Social Media to click on the adsense therefore greatly reducing the CTR..i thnk PHP is good… I use php on my blog and in my website also..

    Reply to Kawasaki motorcycles
  59. Rhys posted the following on March 3, 2009 at 12:46 am.

    @Freestuff

    the ad is triggered by the calling page, not the iFrame, so the content is relevant to the page that called it!
    :-D

    Reply to Rhys
  60. Ganhar Dinheiro Net posted the following on March 7, 2009 at 10:46 am.

    Hi

    Well I´ve a few blogger blogs and this code is usefull for that purpose.

    I will try on other free blogging plataforms if it works ..

    Cumps

    Ganhar Dinheiro Net´s last blog post..Ganhar Dinheiro Facil na Internet

    Reply to Ganhar Dinheiro Net
  61. T1 internet posted the following on March 15, 2009 at 12:17 pm.

    I did not know you could show adsense in frames. Sounds like a great idea to show ads to the traffic type you want.

    Reply to T1 internet
  62. Egipt posted the following on March 25, 2009 at 4:05 am.

    Revelation. You are great for me!

    Reply to Egipt
  63. Broadband posted the following on March 27, 2009 at 9:06 am.

    Never knew this was possible. Thanks for the information.

    Reply to Broadband
  64. Wuhan posted the following on April 7, 2009 at 1:41 pm.

    Hello:

    I think this is a good idea. I hope after you provide us with more information. Thanks for the idea and code.

    Reply to Wuhan
  65. FriendTek.com posted the following on April 27, 2009 at 1:35 pm.

    You should show your adds to as much traffic as possible, limiting adds would just your overall income.

    At the last Google Adsense online live chat I asked the experts about this and they pretty much said your just hurting yourself by not showing adds as much as possible.

    Though it is true the ppc is slightly higher for people coming directly from search you will lose in the end with just less clicks and less revenue at the end of the day.

    The advice they gave was show as many adds as possible to make the most money.

    FriendTek.com´s last blog post..Tell Me Why Anchor Text Is Influential To Getting Organic Traffic?

    Reply to FriendTek.com
    1. Rhys posted the following on May 1, 2009 at 11:22 am.

      @FriendTek

      Of course they would advise showing it to all, that is their vested interest. What we are advocating here is NOT showing it to social traffic that doesn’t ‘click’ because if your CTR is too low you will get SMART PRICED!

      Enough of us have tested this theory to prove it works. What is the use of going for a few more clicks from social traffic if your return per click drops to one or two cents? My returns now range from 25 cents to $2+ per click since I put this in place. Try it before you knock it. The bottom line is revenue, not clicks.

      Rhys´s last blog post..Monetize Your Site

      Reply to Rhys
  66. Phone service posted the following on May 1, 2009 at 10:25 am.

    Great article. Thanks for making the code for both wordpress and blogger. I have a old blogger blog with adsense and i think it is smart priced because of some of the traffic. I have to try it because it seems to make alot of sense.

    Phone service´s last blog post..Broadband phone voip service.

    Reply to Phone service
  67. ovario poliquistico posted the following on May 12, 2009 at 7:17 am.

    very interesting info, t
    hank you for sharing with us

    Reply to ovario poliquistico
  68. Tedy posted the following on May 17, 2009 at 7:51 pm.

    This is nice post. When I search in google using term “biznz.org” with Internet Explorer, I see the adsense here. But, if I try to search “biznz.org” in google using Mozila, I do not see the adsense here.

    I think the script works only in IE, but not in Mozila. Is it right? I really thanks if someone can give me the script that can works in IE and Mozila.

    Reply to Tedy
    1. Rhys posted the following on May 17, 2009 at 9:53 pm.

      Hi Tedy

      The code works with search engines only, that is the purpose of it. If you search for a keyword off my site: E.G, “How To Hide Adsense From Social Traffic” using the Mozilla search bar, you will get biznz.org listed as 1 on the SERP, which when clicked, will display the ad. This works AOK, and is the intended use of the code. Typing in a URL [biznz.org] defeats the purpose of the code.

      Anyone searching br URL wouldn’t be shown the ad because we are trying not to display it to anyone except keyword searchers.
      8)

      Reply to Rhys
  69. Best etf funds list posted the following on May 19, 2009 at 5:15 pm.

    Great post. Most people never realize how they get smart priced let alone how to stop it. I like the fact you tell them about social sites everyone thinks they help make more money but sometimes they hurt. Just shows you search traffic is always the best traffic.

    Best etf funds list´s last blog post..Gold etf.

    Reply to Best etf funds list
  70. caleb34 posted the following on May 23, 2009 at 11:21 am.

    hey, great post. I have noticed my ctr is not near as good from social sites

    Reply to caleb34
  71. Lee, Blogger's Workshop posted the following on May 24, 2009 at 1:05 am.

    Great trick, and one that’s easy enough to implement that even I may be able to handle it :-)

    Thanks for posting this!

    Lee

    Lee, Blogger’s Workshop´s last blog post..Does Your Blog Educate and Entertain?

    Reply to Lee, Blogger's Workshop
  72. daily cell phone news posted the following on May 24, 2009 at 4:09 am.

    I love the ozh who sees ads plugin that I use on my word press blog. But I also have a Blogger site & this post of yours was exactly what I was looking for!

    daily cell phone news´s last blog post..Smartparts 8″ LCD Picture Frame

    Reply to daily cell phone news
  73. Market Timing posted the following on June 2, 2009 at 6:18 am.

    This is a very good idea. higher CTR from adsense will be achieved if you hide your ads like you have outlined. Thank you for the read.

    Reply to Market Timing
  74. Used Machinery posted the following on June 3, 2009 at 4:23 am.

    Today there are several ways to get traffic to your website. Social media traffic is one of them does traffic from stumbleupon, facebook, myspace, digg etc will help convert better for affiliate marketing.

    Reply to Used Machinery
  75. Tanie bilety lotnicze posted the following on June 4, 2009 at 9:21 pm.

    I did not know you could show adsense in frames. Sounds like a great idea to show ads to the traffic type you want.

    Reply to Tanie bilety lotnicze
  76. Ruud posted the following on June 8, 2009 at 8:14 am.

    The script doesn’t apear on my blog.
    I don’t know were the mystakes is.

    Ruud´s last blog post..DIARREAS EN NIÑOS MENORES DE 5 AÑOS

    Reply to Ruud
  77. powertools posted the following on June 17, 2009 at 9:52 am.

    Great post. I have to try this i get alot of image traffic and have low ctr. I seen some sites that have adsense ads for search terms that people go to site for how do they make that work. Site could be about baking but found in google for ovens and shows ads for oven not sure how they do it it seems like more people would click on the ads related to search they found site with.

    powertools´s last blog post..Router bits.

    Reply to powertools
  78. Radon testing posted the following on June 19, 2009 at 2:04 am.

    Great idea. I seen earings go down when i subitted to social traffic sites so this makes alot of sense. I will try the codes you use thanks i like the fact you show how to do it.

    Reply to Radon testing
  79. wakacje posted the following on June 25, 2009 at 2:26 am.

    Very interesting article and idea - increase CTR!

    Reply to wakacje
  80. digital photography posted the following on June 29, 2009 at 7:57 pm.

    This looks like a good idea. I know some traffic has very low click thru rates and it does hurt your earnings. I have to try the codes for social and image sites and see how it effects my click thru rates and earnings. Thanks i never seen the codes for this before.

    digital photography´s last blog post..Free photo and photography sites

    Reply to digital photography
  81. freebees posted the following on July 3, 2009 at 2:22 am.

    Thanks i will have to see if this works. I know i was getting low paid ads on site and looked at ads and blocked them so far. It works good and i earn more but this sounds easier than looking at what ads all the time.

    freebees´s last blog post..datingservices

    Reply to freebees

Leave a Reply - Comments must be meaningful, and add to the topic under discussion; any Generic comment in the style of Good Post - Thanks will be Zorfed!! We use DoFollow links, so to earn the CommentLuv back-link, you need to add a worthwhile comment. Thanks for being part of the Dialog....

  1. You will soon post this.....

Work At Home - Earn $200+ Per Day At Home Ajax CommentLuv Enabled a074366778776a347ac8acad7cc420a8


© 2008 BizNZ | Entries (RSS) | Comments (RSS) | Get a 'Pro' copy of Revolution Theme HERE. | Privacy - About - Contact | Information