Measure Viewport Size

Measure Viewport Size Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 6,949 downloads
Measure Viewport Size Icon

Try plugin: Measure Viewport Size

We'll create fresh WordPress site with Measure Viewport Size installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About Measure Viewport Size

Captures the viewport size of visitors' browser window and stores it as events in Google Analytics

0


0


0


0


0

updated: 11 years ago
since: 14 years ago

Description

Monitoring and analysing the size of the browser windows of your visitors is crucial for you to optimise the experience, design and conversion rate of your site. More than ever with the advent of responsive web design. This plugin gathers viewport data and stores it in Google Analytics.

Using a javascript event triggered by the onload event, this plug in measures the browser viewport size of your visitor’s browser and sends the result to your Google Analytics account as an event.

You must have the asynchronous Google Analytics tracking script installed on your site and use _gaq as the object name.
The template you are using must support the body_class filter hook introduced in wordpress 2.8

Details on the technique behind this solution can be found here http://beantin.se/post/354097397/track-viewport-google-analytics

To view the results, log in to your Google Analytics account (but wait a day for GA to process the data) and look at Content -> Events -> Top Events.

In that report you will see and event called “Viewport” with three actions; “Width”, “Height”, and “Size”. The label within the action “Size” shows the exact dimensions of the browser viewport size of each visitor to your site.