Plugin Author
Okoth1
(@okoth1)
Sorry for the late reply, I have been sick.
You can easily limit the time to let’s say 15 minutes per page. Compare the code below with the tracking part of the plugin code.
<!--Begin Real Time on Site and Bounce Rate -->
<script>
var _gaq = _gaq || [];
(function (tos) {
window.total_time = 0;
window.setInterval(function () {
total_time += 10;
tos = (function (t) {
return t[0] == 50 ? (parseInt(t[1]) + 1) + ':00' : (t[1] || '0') + ':' + (parseInt(t[0]) + 10);
})(tos.split(':').reverse());
if (window.total_time <= 900) {
window.pageTracker ? pageTracker._trackEvent('Time', 'Log', tos) : _gaq.push(['_trackEvent', 'Time', 'Log', tos]);
}
}, 10000);
})('00');
</script>
<!--End Real Time on Site and Bounce Rate -->
Ok. Cool! Thanks for whipping out that code for me…
Another question, if you don’t mind???!!!
I am noticing that I am getting a lot more clicks on my site than actual events being registered on the first time event of .10 seconds(at least according to my adwords campaign). For example, I had 23 clicks on my adwords ad yesterday, but only 2 events showed up at .10 seconds (they did both stay on to watch most of my video >11:00 minutes). Does that imply that the other 21 visitors left the site before .10 seconds? Is that why my bounce rate went up to 85% for the day? It had been bouncing around 50%.
Thanks,
rob
Plugin Author
Okoth1
(@okoth1)
Can’t tell the exact reason, but there are online some articles about it like this one. It may help.
https://support.google.com/analytics/answer/1034383?hl=en