Digital Inspiration Technology Blog
Digital Inspiration is an award-winning how-to tech blog around all things related to computer software, web applications, mobile and personal productivity.
Track the Browser Size with Google Analytics
http://www.labnol.org/internet/browser-windows-size/26872/
Nov 26th 2012, 10:46
Google Analytics reports the "screen resolution" of the visitor's computer but skips the other important metric which is the size of the browser window. These two numbers will be approximately similar if the browser window is kept in maximized state but not otherwise. →Take a look at the example below. The screen resolution of the desktop is 1920×1080 (this is the number recorded by Google Analytics) but the actual browser window size (where your website is displayed) is a little over 900×600 pixels.Google Analytics displays the Screen Resolution and not the actual Browser Size of the visitor.The screen resolution is a less-useful metric and what you really need to know is the actual size (or range) of the browser window of your visitors. This data can be easily gathered through Google Analytics – simply copy-paste the following code snippet just before the closing </body> tag of your website template:<script type="text/javascript">
var width = window.innerWidth || document.body.clientWidth;
var height = window.innerHeight || document.body.clientHeight;
width = Math.round(width/100)*100;
height = Math.round(height/100)*100;
var size = width + "x" + height;
_gaq.push(['_trackEvent', 'Browser Size', 'Range', size]);
</script>It calculates the actual height and width of the browser window and then rounds off these numbers to the nearest 100. For instance, a browser size of 985×1190 pixels is recorded as 1000×1200 pixels. You can then access this data in Google Analytics through Content -> Events -> Overview and then choose "Browse Size" as the Events Category.Once you know the popular "ranges," you can update the site layout and placement accordingly so that visitors can see all the important elements on your pages Above the Fold without having to use the scroll bar.Also see: Getting Started with Responsive Web Design This story, Track the Browser Size with Google Analytics, was originally published at Digital Inspiration on 26/11/2012 under Google Analytics, Web Design, Internet.
You are receiving this email because you subscribed to this feed at http://blogtrottr.com
If you no longer wish to receive these emails, you can unsubscribe here:
http://blogtrottr.com/unsubscribe/crB/ZwM84m
Digital Inspiration Technology Blog: Track the Browser Size with Google Analytics
Monday, 26 November 2012
Subscribe to:
Post Comments (Atom)
Newest Items :
-
▼
2012
(500)
-
▼
November
(156)
- FileHippo.com: FileZilla 3.6.0.2
- FileHippo.com: FrostWire 5.5.0
- FileHippo.com: Google Chrome 23.0.1271.95
- FileHippo.com: HTC Sync 3.3.17
- FileHippo.com: Debut Video Capture 1.69 Beta
- FileHippo.com: Steam (Package 2026/2026)
- FileHippo.com: Maxthon 3.5.2.1000
- FileHippo.com: iTunes 11.0 (32-bit)
- FileHippo.com: Comodo Dragon Internet Browser 23.1
- FileHippo.com: IsoBuster 3.1 Beta
- FileHippo.com: Thunderbird 18.0 Beta 1
- FileHippo.com: Wireshark 1.8.4 (32-bit)
- FileHippo.com: AIMP 3.20.1163
- FileHippo.com: Speccy 1.19.411
- FileHippo.com: Firefox 18.0 Beta 2
- FileHippo.com: Download Accelerator Plus 10.0.4.8
- FileHippo.com: UltraVNC 1.1.8.0
- FileHippo.com: Alkohol 52% 2.0.2.4713
- FileHippo.com: ACDSee 15.1.197
- FileHippo.com: Google Chrome 25.0.1337.0 Dev
- FileHippo.com: Alcohol 120% 2.0.2.4713
- FileHippo.com: Adobe Air 3.5.0.840 Beta
- FileHippo.com: Flash Player 11.5.502.131 Beta (Non...
- FileHippo.com: Macrium Reflect 5.1.5396
- FileHippo.com: Flash Player 11.5.502.131 Beta (IE)
- FileHippo.com: SeaMonkey 2.15 Beta 1
- FileHippo.com: Windows 7 Codecs 3.9.0
- FileHippo.com: Google Chrome 23.0.1271.91
- FileHippo.com: AntiVir Personal 13.0.0.2832
- FileHippo.com: K-Lite Codec Pack 9.55 (Full)
- FileHippo.com: K-Lite Mega Codec Pack 9.55
- FileHippo.com: AbiWord 2.9.4 Beta
- FileHippo.com: CCleaner 3.25.1872
- FileHippo.com: TopStyle 5.0.0.80
- FileHippo.com: PhraseExpress 9.0.146d
- FileHippo.com: Foobar2000 1.1.18
- FileHippo.com: PeaZip 4.8.0
- FileHippo.com: Google Drive 1.6.3837.2778
- FileHippo.com: Ares 2.1.9
- Digital Inspiration Technology Blog: Track the Bro...
- Digital Inspiration Technology Blog: Geotag your T...
- Digital Inspiration Technology Blog: Download the ...
- Digital Inspiration Technology Blog: Play any YouT...
- FileHippo.com: SpiderOak 4.8.0000
- FileHippo.com: PDFCreator 1.6.0
- FileHippo.com: Firefox 18.0 Beta 1
- FileHippo.com: Internet Download Manager 6.12 Buil...
- FileHippo.com: Ad-Aware Free Antivirus+ 10.4.43.4155
- FileHippo.com: Recuva 1.44.778
- FileHippo.com: uTorrent 3.2.2 Build 28595
- FileHippo.com: ICQ 8.0.5880
- FileHippo.com: SMPlayer 0.8.2
- FileHippo.com: Firefox 17.0
- FileHippo.com: Vista Codec Package 6.4.1
- FileHippo.com: Spybot Search & Destroy 2.0
- FileHippo.com: Thunderbird 17.0
- FileHippo.com: Opera 12.11
- FileHippo.com: SeaMonkey 2.14
- FileHippo.com: XBMC Media Center 12.0 Beta 1
- FileHippo.com: Rainlendar 2.11 Beta 126
- FileHippo.com: SUPER v2012 build 54
- FileHippo.com: Notepad++ 6.2.2
- Digital Inspiration Technology Blog: Run the iOS S...
- Digital Inspiration Technology Blog: SEO Tip for B...
- FileHippo.com: Fences 2.01
- FileHippo.com: ToDoList 6.5
- FileHippo.com: Hamachi 2.1.0.274
- FileHippo.com: SkyDrive Build 17.0.2003.1112
- FileHippo.com: Dropbox 1.6.0
- FileHippo.com: DivX Play 9.0.0
- FileHippo.com: AIMP 3.20.1155
- FileHippo.com: Wuala (Colmar)
- FileHippo.com: Gladinet Cloud Desktop 4.0.982
- Digital Inspiration Technology Blog: Embed YouTube...
- FileHippo.com: Flash Player 11.5.502.118 Beta (IE)
- FileHippo.com: Foxit Reader 5.4.4.1023
- FileHippo.com: K-Lite Mega Codec Pack 9.50
- FileHippo.com: Comodo Dragon Internet Browser 23.0
- FileHippo.com: Adobe Air 3.5.0.690 Beta
- FileHippo.com: Flash Player 11.5.502.118 Beta (Non...
- FileHippo.com: phpMyAdmin 3.5.4
- FileHippo.com: LibreOffice 3.6.4 RC 1
- FileHippo.com: K-Lite Codec Pack 9.50 (Full)
- FileHippo.com: Skype 6.0.0.126
- FileHippo.com: AxCrypt 1.7.2976.0
- FileHippo.com: Foobar2000 1.1.17
- FileHippo.com: Google Chrome 24.0.1312.14 Beta
- FileHippo.com: Thunderbird 17.0 Beta 3
- FileHippo.com: MediaMonkey 4.0.7.1511
- FileHippo.com: ZoneAlarm Free 11.0.000.018
- FileHippo.com: SeaMonkey 2.14 Beta 5
- FileHippo.com: AntiVir Personal 13.0.0.2761
- FileHippo.com: FlashGet 3.7.0.1218
- FileHippo.com: Windows 7 Codecs 3.8.7
- FileHippo.com: Firefox 17.0 Beta 6
- FileHippo.com: FastPictureViewer 1.9 Build 278 (32...
- Digital Inspiration Technology Blog: Google+ Shows...
- FileHippo.com: Internet Download Manager 6.12 Buil...
- FileHippo.com: Google Chrome 25.0.1323.1 Dev
- FileHippo.com: FileZilla 3.6.0
-
▼
November
(156)
0 comments:
Post a Comment