How to geotarget content by IP?

Discussion in 'PHP' started by I. Brian, Sep 13, 2007.

  1. #1
    I have a site where I'd like to be able to display an affiliate programs to UK visitors, and Adsense to non-UK visitors.

    Setting up different includes for the affiliate code and adsense code shouldn't be a problem.

    Trouble is, I have absolutely no idea how to even begin to geo target by IP.

    Any pointers would be very much appreciated.

    (I'm also presuming there's no out of the box solution for this?)
     
    I. Brian, Sep 13, 2007 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    Download an IP to Country script. Based on that it's easy to display different content.
     
    nico_swd, Sep 13, 2007 IP
    I, Brian likes this.
  3. I. Brian

    I. Brian Business consultant

    Messages:
    810
    Likes Received:
    59
    Best Answers:
    1
    Trophy Points:
    145
    #3
    Many thanks for that - will check them out. :)
     
    I. Brian, Sep 13, 2007 IP