PaulKinlan/qrcode

Will fail when GA is blocked

Closed this issue · 2 comments

Not a huge deal, but was struggling with demo until I got the chance to hook up my iOS phone to Safari devtools and see what was going on. I have a content blocker which was blocking GA tracking, and snapping a code leads to Unhandled Promise Rejection: ReferenceError: Can't find variable: ga.

ah. Good spot. Will sort.

I originally had thought about this by gating 'ga' call because in China it took an age to resolve, but I didn't gate it correctly in strict mode.