Start free

JavaScript errors

See the JavaScript errors your visitors hit, on which pages and how often, without an error-tracking service.

Events & revenueFeature page: JavaScript errors: which scripts break, on which pages
JavaScript errors: example screenshotJavaScript errors: example screenshot
Example screenshot with made-up data, not a real customer’s numbers.

What it does

A JavaScript errors card on your dashboard: each error’s short message with the file and line, how many times it happened, how many visits hit it and the rate per 100 page views of the pages it happened on, plus the pages with the most errors.

Why it matters

A broken script quietly stops a basket, a form or a menu working for some browsers, and you only hear about it when sales drop. The errors card tells you the day it starts, which page it is on and how many people it affects.

How to use it

  1. Open your dashboard, find JavaScript errors and open Set it up.
  2. Copy the errors.js line (your site ID is filled in) and paste it next to your quietstats tag on every page.
  3. When a script breaks, the error shows with its file and line, how often it happened, how many visits hit it and the rate per 100 page views. Start with Pages with the most errors.

How it works

How a JavaScript error is counted1. The optional errors.js add-on listens for uncaught errors and unhandled promise rejections. Normal pages send nothing. 2. It builds one short label: the tidied message, then the file name and line. (otherwise: Extension errors ignored) 3. Digits become #, long quoted text is cut, addresses keep the file name only. No stack trace. 4. Sent once per error per page view, 5 at most. A label with an email or long number is dropped. (otherwise: Collector check) 5. The dashboard adds them up per error and page, with visits hit and errors per 100 page views.1The optional errors.js add-onlistens for uncaught errorsand unhandled promiserejections. Normal pages sendnothing.2It builds one short label: thetidied message, then the filename and line.Extension errorsignored3Digits become #, long quotedtext is cut, addresses keepthe file name only. No stacktrace.4Sent once per error per pageview, 5 at most. A label withan email or long number isdropped.Collector check5The dashboard adds them up pererror and page, with visitshit and errors per 100 pageviews.
From the errors.js and jserrors.js code. script.js is unchanged; the add-on is a separate file you choose to add.

Privacy

Limits

Plans

Every plan, including Free. quietstats is free during launch: the Free plan covers 1 site and 5,000 pageviews a month, and no card is needed. See pricing.

Questions

Is this a replacement for Sentry?

No. It tells you that an error is happening, where and how often, which is enough to spot a broken release. For stack traces and debugging, use a full error tracker.

Will it slow my site?

It is a small separate file that loads after the page and sends a message only when an error happens.

Can error messages contain personal data?

They can, so the add-on cuts long quoted text and numbers, and quietstats drops any label that still looks like an email address or a long number.

Set it up

Show the install snippet
HTML
<script data-host="https://quietstats.co.uk" data-site="YOUR_SITE_ID" data-dnt="true" src="https://quietstats.co.uk/js/errors.js" async defer></script>

Replace YOUR_SITE_ID with the ID shown on your site’s Manage page.

Related