Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

code to show geo-targetted ads



10:21 pm on Mar 30, 2010 (gmt 0)

5+ Year Member

Hi all.
can someone give me the code to show geo-targetted ads.
i.e. show US ads for US visitors, UK ads for UK visitors etc and so on.?


3:17 pm on Mar 31, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Hey Ginx,

You want to look for an ip to country database and compare the users' IP with that database to see where they are coming from. I don't have the code on hand but that is the strategy.


5:59 am on Apr 2, 2010 (gmt 0)

10+ Year Member

ip 2 nation ... check that. Works well and you'll probably have to modify the code a bit

Featured Threads

Hot Threads This Week

Hot Threads This Month