A user's User Agent will usually tell you what is being used to access the site. However, this can be spoofed. If you want to track it, I can only suggest you use an analytics software to track and analyze the software. Personally, I use Google Analytics which tracks that and a lot of other information about your site and the way users interact with it.