Do users resize their browser windows?

When looking at a responsively designed site in your desktop browser, it's impossible to resist resizing the browser window in and out, watching the layout respond as you do. It's an impressive way to demonstrate responsive design, but it is really relevant? How many users actually resize their browser window whilst viewing your site (other than curious developers)?

By day, I work on a pretty mainstream ecommerce site, so I've decided to find out by getting some real data. If you're using jQuery and Google Analytics, you can do so as well easily enough:

$(window).one({
    resize: function() {  
        _gaq.push(['_trackEvent', 'Viewport', 'Resize']);  
    },  
    orientationchange: function() {  
        _gaq.push(['_trackEvent', 'Viewport', 'Orientation Change']);  
    }  
});

If you've not come across one() before, it's basically the same as on() but will only fire on the first instance of the event. So, if a user's viewport is resized, it will be logged by Google Analytics (but just once in any pageview, no matter how many resizes occur). This should tell us how many people really do resize their browsers.

This should be interesting, especially when filtered by device/operating system — as Drew McLellan says:

They say users don't resize their browser. Not true. Switching device orientation is a common post-load resize.

Once I have a good amount of data, I'll follow up with the results.

Update 26th January 2012: I've added tracking that behaves in the same way to pick up orientationchange as well, so we'll know how many of the resizes are orientation changes and how many are actual resizes.