Have a question that has not been answered before? Feel free to flick us an email at hello@piwik.org and we shall pop the answer up here for all to see. Thanks!
The post Manually report errors in Crash Analytics appeared first on Analytics Platform - Matomo.
Crash Analytics supports automatic crash reporting where available and also lets your application report additional errors manually. You can use both approaches together.
When enabled, Crash Analytics automatically records unhandled JavaScript exceptions and unhandled Promise rejections on websites that use the Matomo JavaScript tracker.
No additional Crash Analytics tracking code is required. Once Crash Analytics is enabled, supported JavaScript errors are automatically reported.
Manual crash reportingSome applications detect or handle errors before they become unhandled exceptions. Because these errors are handled by the application, Crash Analytics does not record them automatically. You can report these errors manually to:
You can manually report these errors using one of the following methods.
| Method | Best suited for |
|---|---|
| JavaScript tracker | Web applications where you can modify the source code. |
| Matomo Tag Manager | Websites that already expose error information through the data layer. |
| Tracker SDKs | Server-side and mobile applications. |
| HTTP Tracking API | Platforms or languages without an official Tracker SDK. |
Web applications can report crashes using the Crash Analytics methods provided by the Matomo JavaScript tracker. This is the recommended approach when:
Websites using Matomo Tag Manager can also report crashes using a Custom HTML tag. Use this approach when your application exposes error information through the data layer for Matomo Tag Manager to process.
Tracker SDKsApplications can report crashes using a supported Matomo Tracker SDK. Supported Tracker SDKs provide methods for manually reporting exceptions and application errors. For example:
doTrackPhpThrowable()TrackHelper.exception()Native Android and iOS crashes are not detected automatically. Applications must explicitly report exceptions using the appropriate Tracker SDK. Refer to the developer guide on Tracking application and server-side crashes.
HTTP Tracking APIIf your application cannot use an official Matomo Tracker SDK, you can send crash reports directly using the HTTP Tracking API. This allows applications written in any language or runtime environment to report exceptions to Crash Analytics.
Previous FAQ: Group hashed JavaScript source files in Crash Analytics
| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | I enabled Crash Analytics but don’t see any crashes | 0 | 9.72 | 29-07-2026 |
| 2 | How to merge and unmerge crashes | 0 | 8.49 | 29-07-2026 |
| 3 | Manually report errors with Matomo Tag Manager | 0 | 8.88 | 16-07-2026 |
| 4 | Understanding row limits and ‘Others’ rows in Matomo reports | 0 | 8.33 | 17-07-2026 |
| 5 | Sample configuration files for high-traffic Matomo deployments | 0 | 11.54 | 13-07-2026 |
| 6 | AI Chatbots Real-time report | 0 | 13.5 | 13-07-2026 |
| 7 | Track Meta Pixel Events in Matomo Tag Manager | 0 | 8.59 | 22-07-2026 |
| 8 | Track visitors from TikTok in Matomo | 0 | 9.19 | 29-07-2026 |
| 9 | Configure the Facebook (Meta) Pixel tag in Matomo Tag Manager | 0 | 7.52 | 22-07-2026 |
| 10 | Blame it on Cloudflare | 0 | 7.66 | 17-12-2025 |