Welcome to WebmasterWorld Guest from 54.196.214.35

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)

New User

5+ Year Member

joined:Mar 7, 2010
posts:8
votes: 0


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.?
Thanks
3:17 pm on Mar 31, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 11, 2003
posts:1375
votes: 0


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)

Preferred Member

10+ Year Member

joined:Jan 4, 2005
posts:621
votes: 0


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