Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations across multiple resources such as crash analytics, AB testing, actions, and more. Specifically for the 'Crash' resource and 'Set Ignore Crash' operation, it allows users to set whether a specific crash should be ignored in the Matomo crash analytics module. This is useful for managing crash data by filtering out irrelevant or non-critical crashes. The node supports sending query parameters and a JSON request body to customize the API call.

Use Case Examples

  1. Ignore a specific crash by providing its ID and setting the ignore flag to true in the request body.
  2. Manage crash analytics by marking certain crashes as ignored to focus on relevant crash data.

Properties

Name Meaning
Query Parameters Key-value pairs to be sent as query parameters in the API request, allowing filtering and customization of the request.
Request Body JSON object containing the request payload for the API call, used to specify details such as the ignore flag and crash ID.

Output

JSON

  • json - The JSON response from the Matomo API call, which may include confirmation of the ignore status being set or error details.

Dependencies

  • Requires Matomo API credentials including domain URL and authentication token.

Troubleshooting

  • Ensure that the Matomo domain and authentication token credentials are correctly configured; missing these will cause errors.
  • Verify that the 'idLogCrash' parameter is correctly specified to target the intended crash log.
  • Check the format of the request body JSON; invalid JSON will cause the API call to fail.
  • If the API returns an error, review the error message and stack trace provided by the node for debugging.

Discussion