Last updated 26 November 2026. By Paul Badarau.
Ellis, a fictional developer, publishes a town hall site from a folder of HTML. The hall hire form is a short script. The archive pages are HTML and CSS only.
- Add the browser SDK when a visitor depends on a script, such as the hire form or a menu that opens from a button. Call
Sentry.initbefore those scripts. With the defaults, an uncaught exception and an unhandled rejection are stored with no further call. - A script you wrote by hand is readable in the stack. Minified output from a generator still needs a source map before the frame names your file and line. Monitoring shows that original position when a map is stored for the frame.
- Pages of HTML and CSS only have no script exception for this SDK to see. A missing file, and a form that lands on the host's error page, are responses. You see them by opening the page.
If the SDK file fails to load, or the page throws before Sentry.init, nothing is sent. After a deploy, open the hire form in a fresh tab and send a test booking. A quiet error list cannot make that check.
The product page for this is Monitoring.