I want to measure actual browser viewport sizes, not screen resolutions, and get a sense of how often desktop users have resized windows. Is there reliable data on this? I have seen a claim that 75% don't maximize, but I can't find a solid source.
How can I tell how often users browse in resized windows?
Answers
I wouldn't use the 75% figure without a source and a clear definition of the population. The discussion doesn't establish a reliable general percentage, and habits could vary quite a bit by site and by screen size.
There are older published viewport statistics, but they aren't necessarily representative of current users. Data from your own audience is likely more useful for design decisions than a broad, unexplained number.
Reply to this answer
For your own site, record innerWidth and innerHeight in CSS pixels for page views, then look at the distribution. Split desktop from mobile and tablet if you can, since mixing them makes the desktop window question harder to read.
That gives you viewport sizes, not a maximized flag. Browser chrome, zoom, scrollbars and docked developer tools can all affect the space available to the page. Decide whether you want a snapshot at page load or also want to capture resizing during a visit.
Reply to this answer
You can try comparing outerWidth and outerHeight with screen.availWidth and screen.availHeight. A window close to the available screen dimensions on both axes might be classified as near-full-size. A window around half the available width could be a side-by-side layout.
Those are rough buckets, not proof that someone pressed the maximize button. A manually stretched window can look similar, and browser and operating system behavior can complicate the comparison. Define your thresholds and report the result as an estimate.
9b+cloverfaucet_762:
Worth deciding whether a window stretched to fill the screen counts. That's a different question from whether the actual maximize control was used.
Reply to this answer
Maximized is not always the useful target anyway. On a wide monitor, someone might deliberately keep a browser beside a document or another window. On a smaller display, the same person might use nearly all the available space.
For responsive design, the widths people actually use can help prioritize testing and show whether a layout wastes space or becomes awkward at smaller desktop widths. You don't need to know their window state to use that data.
Reply to this answer
Add your answer
Answers are reviewed before publication.
_u29!maprivet.5:
That helps for collecting my own data. I was also hoping for actual published numbers on how often windows are maximized.