Skip to content
ErrorsIncluded

Find the errors your visitors run into

Turn on Errors for a site and add e.js, a separate script under 1 KB. We group what your own scripts throw, show where it happens, and take out the personal details we recognize before we store anything.

30 days free, every feature. No card needed.

Sample data · Errors for harbor.example, the last 30 days: every group with its trend, pages, and first and last seen
What you get

A short list, not a flood of rows

An error that happens a thousand times is one row, with its count, its trend, and the pages it happens on.

Grouped

By name, message, and the first frame of your own code, ignoring numbers and IDs, so Loading chunk 312 and chunk 6711 are one error.

Only your own scripts

By default, errors from browser extensions, ads, and other sites’ scripts are left out in the browser. Your own scripts on another address, like a CDN, can be added.

Scrubbed twice

Query strings are removed in the browser. On our servers, we remove them again, with the email addresses, phone numbers, IP addresses, and IDs we recognize.

Never counted toward your plan

Up to 10 per page view. In a flood, we count every report we receive and keep examples up to a daily limit.

How it works

On in four steps

Errors is off until you turn it on. Sites that leave it off don’t load a byte of it.

  1. 01

    Turn it on

    An admin turns on Errors in the site’s settings, and picks what counts as your own scripts.

  2. 02

    Add e.js

    Next to the tracking script. Like it, e.js starts once the browser has read the page, and catches errors from then on.

    <script defer
      src="https://app.lyli.io/e.js"
      data-site="s_…"
      data-consent="wait"></script>
  3. 03

    Your consent banner gives the go-ahead

    e.js waits for your consent banner, like the replay recorder. When a visitor agrees, your banner runs one line.

    window.lyliConsent = true;
    window.lyli?.errors?.();
  4. 04

    Read the report

    Errors lists each group with its trend. Send the errors your code catches with lyli.error(err) too.

One error in full

Where it breaks, and for whom

Open a group for its latest stack, the pages, browsers, systems, devices, and countries it happens on, and when it started.

Sample data · A RangeError on /pricing, new since Sep 17

From an error to the visit

Where Individual visits is on, each occurrence opens its visit, and its replay at that moment, when the visitor agreed to recording.

Ignore what doesn’t matter

Ignore a group, or a message or page pattern in settings. We keep counting it, so removing the rule brings it back with its history.

Minified, as it ran

Stacks show your bundles as the browser ran them. Readable names and line numbers need source maps, which we don’t read yet.

Privacy and data

What an error report keeps

e.js sends the error and where it happened. The page, browser, and country come from the page view it happened on, or from the request when none arrives.

DataVerdictHow
The errorkept 90 daysIts name and message, up to 500 characters, where in your code it happened, the stack, up to 2,000, after the removals below. Then deleted. Details you pass to lyli.error() are checked and not kept for now, since no screen shows them yet.
Daily countskeptThe numbers in Errors, with each error’s name and message, as long as your other reports.
Page, browser, system, device, country, cityfrom its page viewe.js adds nothing new about the visitor. When its page view never arrives, they come from the request, as a page view’s would.
Queries, email addresses, phone numbers, IP and MAC addresses, IDsremovedQueries in the browser before sending, and again on our servers. The rest on our servers, before storing. We remove what we recognize, so keep personal data out of your error messages.
Link to the visit and replayshown where allowedEach example is stored with its visit. It opens the visit only on sites with Individual visits on, and a replay only where the visitor agreed to recording.
Cookies, storage, form contentsnever sente.js sets no cookies and doesn’t read storage, form contents, or network responses. An error message carries whatever your code put in it.

Consent. e.js waits for your consent banner by default. A site can switch to capture without asking, with a notice and a way for visitors to opt out. In the UK, the law lists detecting technical faults among the uses that can be strictly necessary; in the EU, Sweden included, regulators read that exemption narrowly and usually expect consent. Do it only if your adviser agrees.

Questions

Questions about errors

Something else? Write to support@lyli.io.

Does Errors make the tracking script bigger?

No. The tracking script stays about 1 KB. Errors has its own script, e.js, also under 1 KB, and only sites with Errors on load it.

Do errors count toward my plan?

Never, however many there are.

Does it need my visitors’ consent?

By default e.js waits for your consent banner. In the UK, the law lists detecting technical faults among the uses that can be strictly necessary; in the EU, Sweden included, regulators read that exemption narrowly and usually expect consent. Switch to capture without asking only if your adviser agrees.

What about errors from other scripts?

Errors from other addresses’ scripts, like extensions, ads, and chat widgets, are left out, and so are errors we can’t place: browsers hide their details anyway. If your own scripts load from another address, add it in settings.

Why are my stack traces minified?

We show your code as the browser ran it. Readable names and line numbers need source maps, which we don’t read yet.

Can I get an email when a new error appears, or mark one resolved?

Not yet. Today you can ignore an error or a pattern.

See what breaks on your site

Add the tracking script, then turn on Errors and add e.js next to it. Errors are included in every plan.

30 days free, every feature. No card needed.

Designed to help you meet GDPR and UK GDPRCookieless by defaultNo IP addresses in our databaseDatabase in Frankfurt, Germany (EU)How we handle data