July 28th, 2011, 01:18 AM
Determining location (country) of a website visitor and delivering different content
Hi im new to this concept. A client of mine opened a store in the US. (the other stores are in México) The website url ends in .com So now we want to determine if a website visitor comes from the US, or from México and give him different content. It will not be a translation but different websites.
I was reading that one can Geo Target any website with Google Webmaster Tools creating sub-domains. but i dont know if this is for the indexing purposes of google or if this actually does the job.
I also read there are databases with ip adresses, and imagine php and mysql could get the job done. But i think this would be overwork cause we only are currently in two different countries (the US or Mexico) we dont care if anyone visit us from China.
So coud you give me any advices or hints please on how to do this job?
Thanks in advanced fellas.