News for hackers. Stuff that matters.
Re:Google Analytics: Stop feeding the beast by hnick on Thursday February 25, 2021 @10:15PM (#26271034)
How do they handle it? A keep-alive style ping, or something like a beforeunload event hook?
Re:Google Analytics: Stop feeding the beast by e_y_ on Friday February 26, 2021 @12:34AM (#26271670)
In theory the correct way to send analytics when leaving the page is via navigator.sendBeacon, although it's not clear how reliable it is: https://volument.com/blog/sendbeacon-is-broken (note: read the comments for some rebuttals to the article)