I built a small analytics service and noticed that `page_view` events were missing for users in high-latency regions, while later events like `scroll_depth` were still arriving.
It turned out to be related to how `fetch(..., { keepalive: true })` behaves during page lifecycle events.
Curious if others have seen similar issues or handled this differently.
4 comments
[ 5.9 ms ] story [ 18.7 ms ] threadIt turned out to be related to how `fetch(..., { keepalive: true })` behaves during page lifecycle events.
Curious if others have seen similar issues or handled this differently.