Ever wanted to show your visitors or staff where your traffic is coming from, without dragging them through Google Analytics? We’ve developed a simple package which processes your Analytics visit data and displays it as an easy-to-read map. There’s no coding required– just edit one file to add details of your Analytics profile, and away you go. It installs as a simple image you can embed in your blog, on a prominent page, or in a back-office dashboard.
$profile="12345678"; // See http://www.google.com/support/forum/p/Google%20Analytics/thread?tid=73f5507df43705db&hl=en –
$usaonly=1; //Set to filter out non-US information.
$hsize=640; //Horizontal Size
$vsize=480; // Vertical Size
$days=14; // Days to show results from
$maxtoshow = 40; //Show so many dots.
/* thats it */
It should run on any typically configured PHP hosting environment
See it in action at Auto Glass Guru
Get the zip download at our site. A Github repository is now available
In a recent post on the Google Analytics blog, Google announced support for getting an “adjusted bounce rate”. Google Analytics has consistently over reported bounce rate due to the nature of their tracking. Recently they added support for “events” – a way to store additional user behavior data – such as clicks on a facebook like or playing of a video. This new “adjusted bounce rate” feature looks like they’ve packaged up a significant use-case for event tracking into a standard feature. It’s about time. If you would like to take advantage of the new – better bounce rate stats you simply need to add one line to your analytics embed code:
var _gaq = _gaq || ;
setTimeout("_gaq.push([‘_trackEvent’, ’15_seconds’, ‘read’])",15000);
ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl’ : ‘http://www’) + ‘.google-analytics.com/ga.js’;
var s = document.getElementsByTagName(‘script’); s.parentNode.insertBefore(ga, s);
This looks extremely similar to my bounce rate workaround I posted a while back.