1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Geotargeting script - test please

Discussion in 'PHP' started by blueuniverse, Dec 22, 2004.

  1. #1
    I have a geo-targeting script set up here.

    Can you copy and paste exactly what it says, and what your location really is, if the script does not recognise it.
    SEMrush
     
    blueuniverse, Dec 22, 2004 IP
    SEMrush
  2. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,220
    Likes Received:
    778
    Best Answers:
    0
    Trophy Points:
    0
    #2
    T0PS3O, Dec 22, 2004 IP
  3. yfs1

    yfs1 User Title Not Found

    Messages:
    13,799
    Likes Received:
    922
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I just get a blank screen
     
    yfs1, Dec 22, 2004 IP
  4. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,220
    Likes Received:
    778
    Best Answers:
    0
    Trophy Points:
    0
    #4
    T0PS3O, Dec 22, 2004 IP
  5. caroline

    caroline Peon

    Messages:
    376
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Europe

    We have noticed you are viewing from a non-uk pc so we are showing you this content, which is more relevant to you.

    That's what I get.
     
    caroline, Dec 22, 2004 IP
  6. Smyrl

    Smyrl Tomato Republic Staff

    Messages:
    13,473
    Likes Received:
    1,511
    Best Answers:
    76
    Trophy Points:
    510
    #6
    Script places me in US which is true.

    Shannon
     
    Smyrl, Dec 22, 2004 IP
  7. yfs1

    yfs1 User Title Not Found

    Messages:
    13,799
    Likes Received:
    922
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Which is correct, my first name really is Ireland

    How the hell does it do that?
     
    yfs1, Dec 22, 2004 IP
  8. blueuniverse

    blueuniverse Guest

    Messages:
    217
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #8
    lol. It just uses your ip to find out what country you are on, so I can show users the appropriate content, just like Shawn does on his ebay page for example. It is pretty much the same kind of thing.

    - I've fixed the link now btw
     
    blueuniverse, Dec 22, 2004 IP
  9. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,220
    Likes Received:
    778
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I've got a similar script which plasters AdSense all over the place if the visitor is from the US. It's product pages of stuff we only ship to the UK. That's the downside of ranking high, you get seemingly useless traffic. Geotargeting is a nice way of at least squeezing some money out of these visitors.
     
    T0PS3O, Dec 22, 2004 IP
  10. SEbasic

    SEbasic Peon

    Messages:
    6,318
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Looks good to me :)
     
    SEbasic, Dec 22, 2004 IP
  11. john_loch

    john_loch Rodent Slayer

    Messages:
    1,294
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    138
    #11
    Australia.

    Looks good 2 me :)
     
    john_loch, Dec 22, 2004 IP
  12. yfs1

    yfs1 User Title Not Found

    Messages:
    13,799
    Likes Received:
    922
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Sorry, I was just kidding as I was trying to lighten up a thread that will be filled with "It works" posts.
     
    yfs1, Dec 22, 2004 IP
  13. blueuniverse

    blueuniverse Guest

    Messages:
    217
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #13
    lol, no problem.
     
    blueuniverse, Dec 22, 2004 IP
  14. nevetS

    nevetS Evolving Dragon

    Messages:
    2,544
    Likes Received:
    211
    Best Answers:
    0
    Trophy Points:
    135
  15. blueuniverse

    blueuniverse Guest

    Messages:
    217
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #15
    lol, sorry about that. I've deleted it now, because it was just a test script. Sorry for not making that clearer.
     
    blueuniverse, Dec 23, 2004 IP
  16. sarahk

    sarahk iTamer Staff

    Messages:
    25,260
    Likes Received:
    3,438
    Best Answers:
    100
    Trophy Points:
    665
    #16
    Looks like you've pulled the page.

    I got a 404 error.
     
    sarahk, Dec 23, 2004 IP
  17. blueuniverse

    blueuniverse Guest

    Messages:
    217
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #17
    lol, reading the previous post might help. I HAVE pulled the page. ;)
     
    blueuniverse, Dec 23, 2004 IP
  18. sarahk

    sarahk iTamer Staff

    Messages:
    25,260
    Likes Received:
    3,438
    Best Answers:
    100
    Trophy Points:
    665
    #18
    :eek: Even realising there was a second page would have put 1 step ahead...
     
    sarahk, Dec 23, 2004 IP
  19. crazyhorse

    crazyhorse Peon

    Messages:
    1,137
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #19
    Aint working for me , would like to have a look as well. Oppps i need to learn to read a full thread. :D
     
    crazyhorse, Dec 24, 2004 IP