Hey, I just wrote this for those who are not so familiar with PHP: http://www.julian-bez.de/blog/2005/11/29/dont-bother-firefox-users-with-adsense-firefox-referrals/ Read it when you want to show those Firefox Ads just to the visitors not using Firefox.
this works as well. just not in vbulletin unfortunately for some reason <?php $useragent = $_SERVER['HTTP_USER_AGENT']; if (preg_match('|MSIE ([0-9].[0-9]{1,2})|',$useragent,$matched)) { $browser_version=$matched[1]; $browser = 'IE'; } elseif (preg_match( '|Opera ([0-9].[0-9]{1,2})|',$useragent,$matched)) { $browser_version=$matched[1]; $browser = 'Opera'; } elseif(preg_match('|Firefox/([0-9\.]+)|',$useragent,$matched)) { $browser_version=$matched[1]; $browser = 'Firefox'; } elseif(preg_match('|Safari/([0-9\.]+)|',$useragent,$matched)) { $browser_version=$matched[1]; $browser = 'Safari'; } else { // browser not recognized! $browser_version = 0; $browser= 'other'; } if ($browser != 'Firefox') { ?> <script type="text/javascript"><!-- google_ad_client = "pub-5226256296539182"; google_ad_width = 468; google_ad_height = 60; google_ad_format = "468x60_as_rimg"; google_cpa_choice = "CAAQ8aaVzgEaCPJg3qtkyXM9KOm293M"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> PHP:
I was at a website a couple of months ago that had code to put a yellow bar at the top of the page encouraging users to install Firefox if they have IE. Does anyone know the URL for this site? My results so far - over 1000 impressions - no clicks on the Firefox Referal. This is for a below the fold ad in the right hand column. What CTRs are other people experiencing and in what positions?
So if you click on the large "download google toolbar" button and you don't already have firefox installed, does it let you download firefox with the toolbar in one shot? I can't test this as i don't have windows. I see that it has a very small link to download firefox (does this download include google toolbar and therefore pay?) and a same-sized link right next to it to get google toolbar for internet explorer. Not sure why one would want to refer people to download google toolbar for internet explorer without being paid for it.
This is a good thing. I'm not in it for the money, but it sure helps. At least now we have more of an insentive to promote Firefox and hopefully more and more people will start using it. Viva la revolution!