Getting started
Cloud On-Premise
Crash Analytics must be enabled before Matomo can collect and display crash reports. The steps depend on whether you use Matomo Cloud or On-Premise.
Before you start, ensure your websites already include the JavaScript tracking code or the Tag Manager container code.
Matomo On-Premise
- Install and activate the Crash Analytics plugin from the Matomo Marketplace.
- To configure the settings, log in to Matomo and open Administration
> System > General settings > Crash Analytics.
- Once the plugin is enabled, Matomo automatically starts tracking crashes.
Matomo Cloud
Crash Analytics is available in Matomo Cloud and does not require a separate plugin installation.
- To enable Crash Analytics, log in to Matomo and open open Administration
> System > General settings.
- Go to the Crash Analytics settings and make sure the Disable Crash Analytics option is not selected.
- To configure the other settings, refer to the guide Crash Analytics for Matomo Cloud.
- Once enabled, Matomo automatically starts tracking crashes.
Verify Crash Analytics is working
After enabling Crash Analytics, you can add an intentional error on your website page to test crash tracking.
- Add a test error to a web page, for example:
throw new Error("Crash Analytics test error"); - Open the page in your browser to trigger a test JavaScript error.
- Confirm that the error appears in Matomo in the Visits Log or under Crashes > Overview.
Once Crash Analytics is enabled, you can analyse crash reports to investigate JavaScript errors.
Next FAQ: Crash Analytics for Matomo Cloud
Previous FAQ: What does Crash Analytics do?