Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations related to the 'Custom Alert' resource, specifically the 'Get Values For Alert In Past' operation among others. It allows users to query historical alert values and other alert management functions by sending requests to the Matomo API with specified parameters. This node is useful for automating the retrieval and management of custom alert data from Matomo analytics, enabling workflows that monitor alert metrics over time or manage alert configurations programmatically.

Use Case Examples

  1. Retrieve historical values for a specific custom alert to analyze past alert data trends.
  2. Fetch a list of all custom alerts for a site to monitor alert configurations.
  3. Get details of a specific alert by its ID to review alert settings.

Properties

Name Meaning
Query Parameters Collection of parameters to customize the API request for the alert data, such as alert ID, date range, and other filters.

Output

JSON

  • response - The JSON response from the Matomo API containing the requested alert data or operation result.

Dependencies

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

Troubleshooting

  • Ensure that the Matomo API credentials (domain and auth token) are correctly configured; missing credentials will cause errors.
  • Verify that the 'resource' and 'operation' parameters are correctly set to supported values; unsupported values will throw an error.
  • Check the query parameters for correctness and completeness to avoid API request failures.
  • If the API response is empty or unexpected, verify the Matomo server status and API endpoint availability.

Links

Discussion