3 ms·
Everyone does do so already (though not necessarily with websockets; occasional pings are sufficient and more widely supported). Google Analytics has a real-tim
by dangrossman 14y ago
Everyone does do so already (though not necessarily with websockets; occasional pings are sufficient and more widely supported). Google Analytics has a real-time dashboard. So do most web analytics platforms these days.
- shurcooL 14y agoHow do you ping a browser? Where can I find more info about this. I figured the real-time dashboard of Google Analytics must be doing something similar, but I don't know what exactly they use.
- dangrossman 14y agoThe browser pings the server. setInterval(function() { $.ajax('http://analytics-site.com/ping?page=' + window.location.href); }, 5000);
- shurcooL 14y agoAh, makes sense, thanks.
- brokentone 14y agoGA realtime does not differ in tracking methodology, it uses the same onload beacon, just like the long-tail reporting.