Error in sendEvent
when localStorage
is null or otherwise unavailable
#25
Labels
bug
Something isn't working
Versions
localStorage.plausible_ignore
#17Describe the bug
I'm using Plausible with ReactJS, and I enable automatic pageview tracking:
If
localStorage
is null or disabled (e.g. Block all cookies in Chromium 98),plausible.enableAutoPageviews()
throws an error:Expected behavior
Tracking should continue as if the
plausible_ignore
key were unset.Steps to reproduce
localStorage
in your browser of choiceplausible.enableAutoPageviews()
Your Environment
The text was updated successfully, but these errors were encountered: