4 ms·
Posted this over on that blog, but I thought it might be interesting to HN readers too: I also noticed this snippet of code: if(url.indexOf(”google.”)!=-1||
by houseabsolute 17y ago
Posted this over on that blog, but I thought it might be interesting to HN readers too:
I also noticed this snippet of code:
if(url.indexOf(”google.”)!=-1||url.indexOf(”search.yahoo”)!=-1||url.indexOf(”search.live”)!=-1||url.indexOf(”bing.”)!=-1){
if($(”#adsense_2719325″).parents(”#right-column”).length > 0 && !isImage){
$(”#adsense_2719325″).addClass(”afc_wide”);
}
$(”#adsense_2719325″).html(ads);
$(”#ads-section-2719325″).show();
} else {
$(”#ads-section-2719325″).hide();
}
Does that mean that he basically shows different content to people coming from search engines? Is that kosher?
- vaksel 17y agoshowing/hiding ads is perfectly fine. What you can't do is use that to keyword stuff your site.
- prawn 17y agoOn one of my sites, I used AdSense channels to learn more about the CTR from those arriving from Google vs regular users of the site. The CTR from incoming Google traffic was 10x higher, so I show ads to that traffic but not to the regulars - keeps them happier.