I have an affiliate website in latin america and I wondered if I can change the affiliate links depending on the location of the User. In the US this problem doesn't happen very often: You recommend a mobile phone and give an amazon affiliate link. Now the user gets redirected to amazon.com or amazon.co.uk or amazon.com.au depending on his location. Unfortunately the market in latin america is way more fragmented. So if you recommend a mobile phone, you need an mexican aff link, an argentinian, a spanish one, a colombian one,... If now the website checks the user location and changes the link accordingly we could solve this problem. Is that possible? If so, is a script for that existing? If not, how much is it to code something like that?