Hey can someone remind how you sort traffic by browser langauage
it's not more than a couple of lines of code as far as I recall...
it's not more than a couple of lines of code as far as I recall...
<s c r i p t> targetLanguage = "COUNTRY-CODE HERE"; targetURL = "http://URL.HERE"; bLang = navigator.Language ? navigator.Language : navigator.userLanguage; if (bLang.indexOf(targetLanguage) >= 0) window.location.href=targetURL; </s c r i p t>
<s c r i p t> targetLanguage = "COUNTRY-CODE HERE"; targetURL = "http://URL.HERE"; bLang = navigator.Language ? navigator.Language : navigator.userLanguage; if (bLang.indexOf(targetLanguage) >= 0) window.location.href=targetURL; </s c r i p t>
window.location.href=targetURL

Comment