Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

Manually report errors in Crash Analytics

Дата публикации: 16-07-2026 04:44:33

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.


Основное содержимое страницы с новостью.

Table of contents
    1. Manual crash reporting
      1. JavaScript tracker
      2. Matomo Tag Manager
      3. Tracker SDKs
      4. HTTP Tracking API

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 reporting

Some 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:

  • report caught exceptions.
  • report business logic failures that do not generate JavaScript errors.
  • report server-side exceptions.
  • report exceptions from mobile applications.

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.
JavaScript tracker

Web applications can report crashes using the Crash Analytics methods provided by the Matomo JavaScript tracker. This is the recommended approach when:

Matomo Tag Manager

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 SDKs

Applications can report crashes using a supported Matomo Tracker SDK. Supported Tracker SDKs provide methods for manually reporting exceptions and application errors. For example:

  • PHP: doTrackPhpThrowable()
  • Android: 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 API

If 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

Navigate to

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1I enabled Crash Analytics but don’t see any crashes09.7229-07-2026
2How to merge and unmerge crashes08.4929-07-2026
3Manually report errors with Matomo Tag Manager08.8816-07-2026
4Understanding row limits and ‘Others’ rows in Matomo reports08.3317-07-2026
5Sample configuration files for high-traffic Matomo deployments011.5413-07-2026
6AI Chatbots Real-time report013.513-07-2026
7Track Meta Pixel Events in Matomo Tag Manager08.5922-07-2026
8Track visitors from TikTok in Matomo09.1929-07-2026
9Configure the Facebook (Meta) Pixel tag in Matomo Tag Manager07.5222-07-2026
10Blame it on Cloudflare07.6617-12-2025

Классификация: . Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 9.19. Источник: piwik.org.