What error monitoring does a small site actually need?

A small site needs four things: browser errors with their stack traces, source maps so those traces show your own code, an email when a new error appears, and about a week of history. PostDeploy Monitoring covers them with the @sentry/browser SDK on your page. Logs and traces can wait until a question needs them.

Last updated 26 November 2026. By Paul Badarau.

A fictional bakery takes cake orders through a form on its site. One Friday, a deploy breaks the date picker in one browser, and the form throws TypeError: Cannot read properties of undefined (reading 'toISOString') for every visitor who opens it there. Nobody writes in to say so. With an SDK on the page, the first of those errors opens an issue, and the bakery's Owner gets an email naming it.

For most small sites, four parts cover it:

  • Browser errors. Install @sentry/browser and set its DSN to the one PostDeploy gives you. By default the SDK reports uncaught errors and unhandled promise rejections without extra code. Monitoring groups repeats of the same error into one issue, so 300 visitors hitting one bug is one issue with a count of 300.
  • Source maps. Your deployed code is minified, so a raw stack trace points at a column in one long bundle file. Upload the map for each build, and the issue shows the original file, line and function.
  • An email when something new breaks. Owners and Administrators are emailed when a new issue appears. An issue that comes back does not email again.
  • A week of history. Errors, logs and traces are kept for 7 days. Issue summaries, with their counts and first and last sighting, stay for 30 days. On a site you deploy every week, last week's raw errors are rarely the ones you are fixing.

Logs and traces can wait. Monitoring stores structured logs and pageload and navigation traces from @sentry/browser, but the SDK sends them only after you turn them on. Add them when an error cannot answer your question, such as which page loads slowly.

The Standard Plan includes 10,000 Monitoring events a month. Error events and log lines count. Trace spans and repeated copies of an event do not. Going over the limit does not stop collection, and the Owner is warned.

Monitoring sees only what the SDK manages to send. If your bundle fails to load, or the page breaks before the SDK starts, no error arrives and no email goes out. Initialize the SDK at the top of your main bundle, before the rest of your code runs, and still try the order form yourself after a large deploy.

The product page for this is Monitoring.

Start your 14-day free trial