Hacker News new | ask | show | jobs
by bradleyjkemp 1923 days ago
Ouch, you're right. Thanks for the heads up!

Indeed, on fast connections the request to Plausible gets cancelled before it can be completed. I've updated my code to use that `setTimeout` trick.

`navigator.sendBeacon` support would be amazing! I really like how simple Plausible has been to set up (having never really used analytics before) so removing even more pitfalls/hurdles would be cool