🌓

Google Analytics – Make full screen (for monitoring screens and such) Drag and drop the following Bookmarklet into your browser’s bookmark bar and click it once in Google Analytics. GA – Full Screen Unminified source code The code can be optimized although I’ve kept it like this so it’s easier to update if Google updates the DOM. document.getElementById('ID-headerPanel').style.display='none'; document.getElementById('ID-headerTabPanel').style.display='none'; document.getElementsByClassName('uI')[0].style.marginTop=0; document.getElementById('ID-navToggle').click(); if (document.getElementsByClassName('ACTION-remove')[0]) {document.getElementsByClassName('ACTION-remove')[0].click();} document.getElementById('ID-reportHeader-toolbarSection').style.display='none'; document.getElementById('ID-reportHeader-titleSection').style.display='none'; […]

by
on March 8, 2013
(1 minute read)

google analytics full screen bookmarklet

Simple Cloud Hosting Built for Developers

Drag and drop the following Bookmarklet into your browser’s bookmark bar and click it once in Google Analytics.

GA – Full Screen

Unminified source code

The code can be optimized although I’ve kept it like this so it’s easier to update if Google updates the DOM.

document.getElementById('ID-headerPanel').style.display='none';
document.getElementById('ID-headerTabPanel').style.display='none';

document.getElementsByClassName('uI')[0].style.marginTop=0;
document.getElementById('ID-navToggle').click();

if (document.getElementsByClassName('ACTION-remove')[0]) {document.getElementsByClassName('ACTION-remove')[0].click();}

document.getElementById('ID-reportHeader-toolbarSection').style.display='none';
document.getElementById('ID-reportHeader-titleSection').style.display='none';
document.getElementsByClassName('NO')[0].style.display='none';

document.getElementsByTagName('body')[0].style.overflowX = 'hidden';
document.getElementsByTagName('body')[0].style.margin = '0 -15px 0 -35px';

Once you are done editing you can bookmarkletize the code with Ted’s fantastic Bookmarklet Crunchinator tool.

Performance note!

The Real-time screen has a memory leak and will eat your RAM memory after a few hours so I’d recommend you to install an extension that reloads the page every 10-30 minutes such as Revolver Tabs.

I’ve got invites for a free bank transfer!

Google Analytics has the x-frame-options: SAMEORIGIN header enabled so you won’t be able to embed the page in an iframe, the Revolver extension will also be useful if you want to show data for more than one site (open one tab for each site).

Photo by Sam Gao

Free 100% online banking account

💳 Get your free debit Mastercard

No comments yet

Treasure Chest

Get notified of new projects I make
Usually one email every 3 months

Follow me for cool new products and interesting findings on graphic design, web development, marketing, startups, life and humor.


/*Twitter*/ !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs"); /*Facebook (function(d, s, id) {var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) {return;}js = d.createElement(s); js.id = id;js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1&appId=28624667607";fjs.parentNode.insertBefore(js, fjs);}(document, 'script', 'facebook-jssdk'));*/ /*Google+*/ window.___gcfg = {lang: 'en-GB'};(function() {var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;po.src = 'https://apis.google.com/js/plusone.js';var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);})();