Quote:
Originally Posted by AllAboutCams
How does it work
|
Just adds this small JavaScript into each document <HEAD>:
Code:
<script>
(function (tos) {
window.setInterval(function () {
tos = (function (t) {
return t[0] == 50 ? (parseInt(t[1]) + 1) + ':00' : (t[1] || '0') + ':' + (parseInt(t[0]) + 10);
})(tos.split(':').reverse());
window.pageTracker ? pageTracker._trackEvent('Time', 'Log', tos) : _gaq.push(['_trackEvent', 'Time', 'Log', tos]);
}, 10000);
})('00');
</script>
Not sure if Google will love such an approach. Anyways, it won't work without GA account and
ga.js 