🐛 Handle GA script load failure to prevent bot from hanging (#2446)
## Summary - Add `script.onerror` handler in `initGoogleAnalytics` so the promise resolves even when the GA script fails to load (ad blockers, network errors), preventing the bot from hanging indefinitely. - Bump `@typebot.io/js` and `@typebot.io/react` versions to `0.10.2`. ## Test plan - [ ] Enable a Google Analytics integration block in a bot - [ ] Block `googletagmanager.com` (e.g. via ad blocker) and verify the bot still loads - [ ] Check that `"Failed to load Google Analytics script"` appears in the console 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
B
Baptiste Arnaud committed
d3c15f32c88ce685abde336debff67dbae50289a
Parent: 0969c4e
Committed by GitHub <noreply@github.com>
on 4/13/2026, 10:18:57 AM