https://www.growthbook.io/ logo
#announcements
Title
# announcements
r

red-mouse-1009

03/13/2023, 7:37 AM
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

fresh-football-47124

03/13/2023, 7:37 AM
Hi Coder - can you share your implementation code?
r

red-mouse-1009

03/13/2023, 7:42 AM
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

fresh-football-47124

03/13/2023, 7:50 AM
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

red-mouse-1009

03/13/2023, 7:53 AM
Yeah . That’s not causing that error
f

fresh-football-47124

03/13/2023, 7:53 AM
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

red-mouse-1009

03/13/2023, 7:55 AM
So my page gets loaded for approximately 147 times and my growthbook event gets fired only 109 times
f

fresh-football-47124

03/13/2023, 8:00 AM
any browsers in common?
r

red-mouse-1009

03/13/2023, 8:01 AM
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
64 Views