The best choice for that is the stats page that your server should provide you. If not, then xara has a little addition you can throw on your site to calculate all that stuff for you, including screen res. See xaraonline

It is an offsite counter, so if xara has net problem so will your site. That is the only downside.