Forum Moderators: skibum
Id like to geotarget european visitors toward amazon.co.uk and the rest of the world towards amazon.com
What are some good approaches to do this?
I dont really want to use ip based methods even though they are the best, as i dont have the need to be that exact.
Im thinking of filtering on the regional language settings in the http header.
This is just to try it out, as im currently running adsense as my #1 income source.
I might, if this turns out to be good, use better methods in the future.
Any input/suggestions/etc?
function isUK() {
var arr = dt.toString().split(" ");
if (diff=="+0100" ¦¦ diff.substr(1)=="0000" ¦¦ diff==""){
return true;
}
}
The date string contains the timezone settings. You can also check for "en" in navigator.language or navigator.browserLanguage
(the pipe character gets changed to ¦ on webmasterworld)