Blog

Writing

Ideas, tutorials, and updates from our team.

  • widget

    Localizing an Embedded Widget: Page Language or Browser Language?

    An embedded widget can read the page's html lang, the visitor's navigator.languages, or what the site tells it. They often disagree. The order we chose for BugDump's widget, why the page goes first, and the small things that broke along the way.

  • Session replay

    Three quarters of our SDK was code almost nobody ran

    A third-party widget that ships 450 KB to every visitor has to justify it. Ours couldn't. Here's the measurement, the fix, and the thing about defer that turned out to be wrong.

  • JavaScript SDK

    How to capture console logs and network requests from a user's browser

    DevTools is open on the wrong machine. Here's how to instrument console, errors, fetch, and XHR so a user's browser can tell you what actually happened — and the traps that make naive implementations break the page they're monitoring.