Subscribe via RSS FeedRandom Post

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

View Comments July 13, 2007 | Tony Williams

I’ve been running this site for around 9 months now, and although I didn’t start running it to make money it is actually generating enough money now to pay for a few nights out a month. I decided today to see if I could find ways to improve the revenue generation, without ruining the user experience.

I noted that around 60% of my readers are still using Internet Explorer and not Firefox, so I decided to look for a way to promote Google Adsesne Firefox Referrals to non-Firefox readers only, so that they can benefit from the best browser out there, whilst I make up to $1 per user that I convert and educate.

Eventually I found a very simple way to do this. To only show a Firefox referral ad to non-Firefox users just add this code to your site where you want you Firefox referral ad to be displayed:

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

Once you’ve done this, your Firefox referral ad will be displayed to ALL users visiting your site who are not using Firefox.

Tip: Click here to run a free scan for common PC errors

GD Star Rating
loading...

Tags: , , , ,

Category: Making Money Online, Using The Internet

Next Post: »»

Prev Post: »»

About Tony Williams: Want to get more out of your PC, the internet or your mp3 player? Onetipaday.com is here to provide clear simple tips and guides to help you achieve just that. Each tip will be easy to implement and will take no more than 5 minutes to read and implement. What will you learn today? View posts.

Comments (View Comments)

Trackback URL | Comments RSS Feed

  1. flamez says:

    That code, if im not mistaken shows ads only to gecko users.

    I recommend you make a simple if user agent is firefox = false code instead of that one. It will show the ad to EVERY browser besides firefox.

  2. Mark says:

    Not working for me … I’m doing it correctly but it is still showing on FF3 browsers (FF3 is what I’m using)

  3. Srednarb says:

    I never thought it could be done, will implement it right a way, thanks for the code.

Leave a Reply




If you want a picture to show with your comment, go get a Gravatar.

blog comments powered by Disqus