Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API, allowing users to perform various operations across multiple Matomo resources. Specifically for the 'Core Admin Home' resource and the 'Delete Tracking Failure' operation, it enables the deletion of a specific tracking failure for a given site. This is useful for administrators who want to manage and clean up tracking failure records in their Matomo analytics setup. The node supports a wide range of query parameters to customize the API request.

Use Case Examples

  1. Deleting a specific tracking failure by providing the failure ID and site ID to maintain clean tracking data.
  2. Fetching tracking failures to review before deletion.

Properties

Name Meaning
Query Parameters Collection of parameters to customize the API request, including identifiers like 'idFailure' to specify which tracking failure to delete.

Output

JSON

  • Status Code - Indicates the HTTP status code or response status from the API call, e.g., '204 No Content' for successful deletion with no content returned.
  • json - Parsed JSON response from the Matomo API if available.
  • text - Raw text response from the API if JSON parsing fails.

Dependencies

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

Troubleshooting

  • Ensure that the Matomo domain and authentication token are correctly configured in the node credentials; missing these will cause errors.
  • Verify that the 'idFailure' parameter is correctly set to target the specific tracking failure to delete.
  • Check network connectivity and Matomo API availability if requests fail.
  • If the API returns an error, the node throws a detailed error message including the API response for easier debugging.

Links

Discussion