plugin-icon

Measure Viewport Size

Von beantin·
Captures the viewport size of visitors' browser window and stores it as events in Google Analytics
Version
1.0.3
Aktive Installationen
10
Zuletzt aktualisiert
Aug 29, 2013

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.

Kostenlosmit kostenpflichtigen Tarifen
Mit deiner Installation stimmst du den Geschäftsbedingungen von WordPress.com sowie den Bedingungen für Drittanbieter-Plugins zu.
Getestet bis
WordPress 3.6.1
Dieses Plugin steht für deine -Website zum Download zur Verfügung.