<< back to stilius.net

Trying to boost Google Firefox referals program earnings

If you are Google Adsense publisher and want to try Firefox referals program you can just put the referal ad on your page and expect someone to see it, download and install or you can try blocking Internet Explorer users and recommend them to use Firefox to browse safer and faster and display Firefox referal button. You can accomplish that by using this javascript that you can insert into html head tag.

Of course someone will say that using this technology you can lose your web visitors that could click on usual adsense ads, but in my case this method helped to earn more. Combination of adsense for content and adsense firefox referals earned 50% more in this month than in last month when I didn't use this technology. It's your decision, you can try it and see if this technology works for your site.

Other publishers may concern about how legal is this? Can I redirect users that are using other browsers, say that Firefox is very good and encourage them to download Firefox using your referal button. I have asked google and got the following answer:
"As always with AdSense, you may not directly incite users to click. However with referrals, since you have chosen to endorse a particular product, you are allowed to reasonably discuss it in your content and note that you can download or sign-up through the button."
So it's 100% legal and you can try.

JavaScript consist of one function whichBrs() to determine the browser type and at the end of JavaScript there is if clause (it's highlighted). There you can insert different browsers that have to be redirected to the page describing how Firefox and Google toolbar is good.

<script language="JavaScript">
<!--
function whichBrs()
{
var agt=navigator.userAgent.toLowerCase();
if (agt.indexOf("opera") != -1) return 'Opera';
if (agt.indexOf("staroffice") != -1) return 'Star Office';
if (agt.indexOf("beonex") != -1) return 'Beonex';
if (agt.indexOf("chimera") != -1) return 'Chimera';
if (agt.indexOf("netpositive") != -1) return 'NetPositive';
if (agt.indexOf("phoenix") != -1) return 'Phoenix';
if (agt.indexOf("firefox") != -1) return 'Firefox';
if (agt.indexOf("safari") != -1) return 'Safari';
if (agt.indexOf("skipstone") != -1) return 'SkipStone';
if (agt.indexOf("msie") != -1) return 'Internet Explorer';
if (agt.indexOf("netscape") != -1) return 'Netscape';
if (agt.indexOf("mozilla/5.0") != -1) return 'Mozilla';
if (agt.indexOf('\/') != -1)
{
if (agt.substr(0,agt.indexOf('\/')) != 'mozilla')
{
return navigator.userAgent.substr(0,agt.indexOf('\/'));
} else
return 'Netscape';
} else if (agt.indexOf(' ') != -1)
return navigator.userAgent.substr(0,agt.indexOf(' '));
else
return navigator.userAgent;
}

if (whichBrs() == "Internet Explorer")
window.location="http://your.page.describing.how.good.firefox.is";
-->
</script>

Download source

© Tomas Vilda, 2006