Feature toggles
webDeveloper
All 17 feature toggles and their real defaults, read from the config resolver.
12 of the 17 features are on by default; 5 are opt-in.
All toggles#
| Toggle | Default | What it is |
|---|---|---|
errors | On | — |
network | On | — |
console | On | — |
webVitals | On | — |
performance | On | — |
journey | On | — |
replay | Off | — |
bugReport | On | — |
crash | On | Web crash detection (ReportingObserver + session-liveness recovery). Default on. |
config | On | Config & flags (feature flags / remote config / rollouts / experiments). Default on. |
engage | On | Engage — surveys / NPS (in-app prompts, friction-triggered). Default on. |
analytics | On | Product-analytics + revenue lane (track/trackPurchase → /batch Event). Default on. |
webPerf | On | Web RUM — page-load (Navigation Timing) + FPS (rAF) + LoAF. Default on. |
profiler | Off | JS Self-Profiling flame graphs. Default OFF (CPU cost + needs Document-Policy: js-profiling). |
watchdog | Off | W5.2 — Resource Watchdog (continuous resource sampling + local incident detection). Default OFF. |
inbox | Off | Persistent Message Inbox / Notification Center (offline-first, delta-synced). Default OFF (until GA). |
inapp2 | Off | IAM 2.0 in-app engine (schema-driven surfaces). Default false (opt-in). |
Opt-in features#
Enable with features:
TypeScript
await ScaleBun.init({ clientKey, apiBaseUrl, features: { replay: true },});Off by default: replay · profiler · watchdog · inbox · inapp2.