Re:0 second visits according to Google Analytics
by dangrossman on Sunday May 12, 2013 @02:08PM
(#5695191)
The browser pings the server.
setInterval(function() {
$.ajax('http://analytics-site.com/ping?page=' + window.location.href);
}, 5000);
I figured the real-time dashboard of Google Analytics must be doing something similar, but I don't know what exactly they use.