2 ms·
How 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
by shurcooL 13y ago
How 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 13y agoThe browser pings the server. setInterval(function() { $.ajax('http://analytics-site.com/ping?page=' + window.location.href); }, 5000);
- shurcooL 13y agoAh, makes sense, thanks.