Block International Traffic

Discussion in 'Publisher Network' started by aaron_nimocks, Mar 14, 2006.

  1. intelliot

    intelliot Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #41
    I'm concerned about performance too, especially since I use this on forums which have many repeat visitors. One idea I've thought of as an easy fix is setting a cookie the first time the visitor views the site and we have to check where the IP is located. If the IP is in the US, we set the cookie like setcookie("Location", "United States") or setcookie("Location", "International")

    Then just check $_COOKIE['cookiename'] == "United States" to determine which ads to show on future page loads.
     
    intelliot, Apr 1, 2006 IP
  2. americanguy

    americanguy Peon

    Messages:
    62
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #42
    Yahoo wants quality US traffic. So i guess it is right that they are not showing the ads for international traffic.
     
    americanguy, Apr 2, 2006 IP
  3. ArcticPro

    ArcticPro Banned

    Messages:
    1,273
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #43
    Can't we just do an IF statement? IF U.S. then show YPN ads ELSE Adsense without all the countries and everything, that would be the fastest I would think.
     
    ArcticPro, Apr 3, 2006 IP