How To Display Firefox Referral Ads To Non-Firefox Users Only


About 50% of my readers are Internet Explorer users and I’ve been searching for a while for a way to promote Firefox to only to these readers using Google Adsense Firefox Referrals which pays up to $1 for each conversion for a while, so that users already using Firefox don’t see the ads and so that the extra ads don’t distract from my current campaigns.

50% of my readers is about 3-4k people per day so I’m hoping that the code I’ve just added to display a Firefox referral ad ONLY to non-Firefox users works. I got the code from One Tip A Day and it’s really quite simple:

<?php if ( !strpos($_SERVER['HTTP_USER_AGENT'], ‘Gecko’) ) { ?>
<!– Put the code you want to display to non-firefox users here –>
<?php } ?>

In the comments section you can add the Google Adsense Firefox referral code and anything else you may want to display to non-Firefox users.

I’ll let you know in a couple of days what kind of results I’m having. Even if I only get half a dozen a day or a 0.2% conversion rate, that would be an extra $180 per month, which wouldn’t be bad for a 30 second change! This would be around the amount that Martin is making from Firefox referrals (5% of his earnings). I’m hoping that I can make a bit more as I have more IE users than Martin.

Bookmark & Share

Related Posts

About the Author

author photo

Everton is based in London and has worked in the internet and mobile space for over ten years now, and before that worked in corporate strategy and consulting. He has a degree in Economics from Cambridge University, and currently runs the Portal and online operations for one of the largest ISPs in the UK. He also writes for Windows 7 News.

See All Posts by This Author

There Are 8 Responses So Far. »

  1. #1

    Well even I was looking for this same thing…

  2. #2

    you can do it with just CSS :)

    .someBox {
    display: block; /* IE 6 & bellow */
    }
    html>body .someBox {
    display: none; /* FF & Others */
    }
    *:first-child+html .someBox {
    display: block !important; /* #%@#%(! IE 7 */
    }

    Of course, there’s a possibility of them fixing last rule for Internet Explorer 7 in future version, but still.. you CAN do it without PHP ;)

  3. #3

    thanks for the information

  4. #4

    Personally, I have had very few conversions with the referral program and I do not use it anymore.

  5. #5

    I dont have good idea on refferal ads, but doubt if they work good, as the visitor has to go from our site to download the software. :) I have never done download unless I really want some software.

  6. #6

    it is quite a nice idea. a tag line alone with it will help increase conversion

  7. #7

    good idea - just added a tag line

  8. #8

    Thanks for this tip! I haven’t had any conversions yet, but maybe this will help.

Subscribe without commenting

Post a Response


Comment Policy: Any comments are permitted only because the site owner is letting you post, and any comments could be removed for any reason at the absolute discretion of the site owner.