|
you'd have to do a geoIP lookup. grab their IP using php's predefined variables and then run it through a geoIP script (which basically compares IP ranges to countries) and use it from that.
but thats only if you're dynamically generating different ads based on the country. if you just want to see what country people are from and accordingly MANUALLY adjust the ads AFTER you know what country your majority of viewers are from, i strongly suggest google analytics.
|