The reason it got your location wrong is because what it's actually detecting is the point at which your computer connected to your internet service provider.
Mine was also wrong, but only off by one state. At other times, other sites that purport to know where you're located have been off by as little as half a county. Only once has such a site actually identified the township I'm in, but never the actual town.