mixpanel-js
mixpanel-js copied to clipboard
`unload` event not reliable for batch flushing according to MDN
Hi, with batching enabled you flush the data on page unload which is awesome, but according to MDN unload
should be avoided and instead the visibilitychange
event with a pagehide
fallback should be used. Do you think it would be a good idea to change? Cheers
Any update on this?