Forum Moderators: phranque

Message Too Old, No Replies

Show different ads to non-US traffic with SSI

         

jahfingers

6:14 pm on Feb 16, 2006 (gmt 0)

10+ Year Member



I'm trying to show "US traffic" ads from Yahoo publisher network, and "non-US traffic" ads from Google AdSense. Yahoo states in their tos that any international traffic can get you banned.

What's the best way to do this with SSI? I'm not a programmer, so please dumb it down for me. Any help is greatly appreciated.

jdMorgan

12:45 am on Feb 17, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The trick is in identifying "US traffic" versus "non-US traffic". It's not particularly easy.

You can either use hostname resolution (reverse DNS) if your server config allows it and you can put up with the speed & reliability degradation, or you can install and use mod_geoip to look up the country code.

In either case, you should check with your hosting provider to see what's available.

Jim