Best Means of Knowing Your Audience?
Pieroxy asks: "As an administrator of various websites, I am always eager to know about my audience. Without going through the hassle of setting up polls and other information gathering systems, the http headers (and connection) are the primary obvious source of information available. However, getting meaningful information out of a User-Agent string or out of an IP address can be trickier than it looks. There are some websites out there that seems to provide some of this information (User-Agent detection, User-Agent explanation, IP localization, or even an IP-to-country mapping), but none seems to be either free, in a usable form or even complete. Would anyone have pointers for free code/service that can help match a User-Agent String with an OS and a browser? A service/code that would match an IP address with a geographic region? Anything else that one can use to try and have a clearer view of its audience?"
Try near impossible, since most of that stuff (ie, UserAgent) can be changed at will.
(Yes, I know most people don't, so you'll get a fair estimate, but you'll never know for sure.)
Find out about the Lexus Rx400h Hybrid!
OK, before going into any of the "How" questions (How do I gather this information? How do I assure its validity?) let us as the more fundamental question:
Why do you want to gather this information?
For example, why do you care what browser and OS I am running? Unless you are selling computer software or hardware, you shouldn't give a rat's testicles what my computer is - so why do you need to know?
Why do you care where I am located? Are you trying to guess what the shipping costs will be? Are you trying to gauge whether your site's content is applicable or legal in my area?
Are you really sure this information is going to do you any good, even if you can aquire it?
And having aquired it, how are you going to insure that anything you've found out will NOT be "leaked" to somebody else? Considering the ChoicePoint et. al. fiascos, *I* would not want to gather one bit of information more than I absolutely needed - information you do not have you cannot leak.
www.eFax.com are spammers