Statistics

March of the Mac

I used to provide yearly stats on this site that showed Browsers, Operating System and Screen Resolution. Somewhere along the way, about 2006, I lost interest or got too busy to publish them. Over the last year or so I have noticed a big increase in Mac usage, every man and his dog has one, or so it seems. So I had a quick look at the stats for last month and compared it with the old stats. In 2006 mac users accounted for just 2.1% of visitors. Currently November 2009 they account for 12.49% that's over 10% increase, a significant amount of market share going to Mac.

Browser Sniffing

First released 16 October 2001.
Latest update 25 June 2011 version 2.2 added better mobile detection.

This PHP Browser Sniffer uses the HTTP Header sent from your browser, to detect the type and version of browser and platform. There are lots of other sniffers on the web, this one is very simple and effective. It hasn't been designed to detect all browser and operating system combinations. Feel free to modify it if you see a need, and please let us know of any bugs.

Many browsers allow user to change the User Agent string used to detect the browser. There is no simple way to detect if the User Agent has been changed. Most developers no longer rely on User Agent sniffing, instead the preferred method is to use JavaScript object testing to test if the functionality they wish to use is supported by the browser.

Visitor Sniffer can be used to customize web pages for different browsers or for gathering statistics on web visitors.

To use the visitor sniffer on your php page: include("sniffer.php"); $sniff = new sniffer(); Then the variables can be accessed like: $sniff->engine $sniff->browser $sniff->version $sniff->platform $sniff->mobile $sniff->desktop $sniff->console $sniff->tablet

Example results for your browser

Engine: unknown
Browser: Other
Version:
Platform: unknown
Mobile: 0
Desktop: 0
Console: 0
Tablet: 0

As the product is free the creators and download sites accept no responsibility for any problems that may occur from the use or download of this product. We hope you find this visitor sniffer useful and we welcome comments and suggestions.

Web Usage Stats

This page shows stats on visitors such as the operating systems and browsers.

Web Stats

I finally got round to rolling over my Web Stats for the new year, only 2 months late. In the process I updated the Visitor Sniffer to include my favorite browser Mozilla Firefox.

Webstats update

The webstats page has been updated again, screen resolution has been added. Looks like I had better update my site as there are some high resolution screens coming this way. The resolution stats are collected via javascript then passed to php via a hidden form. Stats are only collected the first visit to the site and only if you visit another page. One thing I found interesting is the low number of 800 * 600 screens, they used to be the most popular by far.

Syndicate content