Browser Window Stats

Records browser window size for each page load and makes data available for administrators. Also counts visits by registered users.

Author:Tom Fletcher (profile at wordpress.org)
WordPress version required:3.1.4
WordPress version tested:3.3.2
Plugin version:1.1
Added to WordPress repository:31-12-2011
Last updated:30-01-2012
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:1 558
Active installs:10+
plugin download
Click to start download

Often site visitors view websites using a browser window that can be much smaller than the screen resolution, yet sites are often designed based on popular screen resolutions or assumed parameters. The current trend of responsive design acknowledges that design should fit to the window size; this plugin will help you identify important viewport sizes, and where you can switch layouts.

This plugin runs a small piece of javascript on each page load to measure the browser window size and screen resolution, sending it back to the server to be stored in the database. This gives you a better understanding of the how visitors actually view your site: whether a wide range of viewports are in use, or if most visitors use a very similar window size.

Data is stored on a per visit basis, which contains each visitors page views. A visit times out after 15 minutes of inactivity (no more page loads).

Visits made by registered users are also counted, and data is also collected for page views in the admin area (your own visits are important too!), except for the plugins own stats page.

There is a page in the admin area that shows off your browser data in an interactive histogram. You can choose different time periods, visits or page views, browser width or height, and select different parts of the plot to get more detail. There are also some supplementary stats provided. You can download all data in CSV format and analyse with your favourite stats program if required.

If you find this plugin useful, please let me know. It'd be great to put some case studies together. Donations are also welcome 😉