Cannot read property 'GrowthBook' of undefined For...
# announcements
r
Cannot read property 'GrowthBook' of undefined For some of the user this error is thrown . My tracing callback function is not triggered at times for some users . Any possible reason why that’s happening @fresh-football-47124
f
Hi Coder - can you share your implementation code?
r
f7ec82d2-1337-496b-b2fe-ca6f3b5806f7.jpg
I have set up sentry too
I can see the error logs
At times tracing call back function is not getting executed
f
yes, allCookies is still not a good attribute to use
we spoke about this before
But that’s probably not causing that particular error
r
Yeah . That’s not causing that error
f
If that JS file doesn’t load, then GrowthBook will be undefined - it could be an extension blocking that loading
what percentage of users are getting this error?
r
So my page gets loaded for approximately 147 times and my growthbook event gets fired only 109 times
f
any browsers in common?
r
Nothing like that most of the browsers are chrome . Except for the events inside the tracing callback rest all the events are getting fired.
Mostly android users
114 Views