Adsense Referral

Discussion in 'AdSense' started by bluemanteam, Feb 1, 2008.

  1. #1
    I've seen a site that shows an adsense ad to download firefox with google toolbar if using IE, but if you see the same site using firefox, it shows a different ad.

    Would someone have some code they could share to reproduce this effect?

    Thank you
     
    bluemanteam, Feb 1, 2008 IP
  2. phinelinda

    phinelinda Well-Known Member

    Messages:
    603
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    108
    #2
    It's probably behaving like a standard page refresh. But you can re-check that.
     
    phinelinda, Feb 1, 2008 IP
  3. live-cms_com

    live-cms_com Notable Member

    Messages:
    3,128
    Likes Received:
    112
    Best Answers:
    0
    Trophy Points:
    205
    Digital Goods:
    1
    #3
    I do that at www.narutowallpaper.biz, have a look at the code to see how I do it.

    Search the code for 'if IE'.
     
    live-cms_com, Feb 1, 2008 IP
  4. bluemanteam

    bluemanteam Peon

    Messages:
    169
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks, that's a nifty piece of code. If it's ok with you, I'd like to use it on my site?

    I don't really want to waste ad space, I'm wondering if there is a way to put another conditional statement in there under the 'if IE' such as 'if ANYTHING ELSE' so that you could show a different ad to anyone else using a browser other then IE.
     
    bluemanteam, Feb 1, 2008 IP
  5. live-cms_com

    live-cms_com Notable Member

    Messages:
    3,128
    Likes Received:
    112
    Best Answers:
    0
    Trophy Points:
    205
    Digital Goods:
    1
    #5
    I think you change 'if IE' to 'if !IE'. Feel free to use it.
     
    live-cms_com, Feb 1, 2008 IP