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 Custom Alerts, AB Testing, Actions, and many others. Specifically for the 'Custom Alert' resource with the 'Add Alert' operation, it allows users to add a new alert by specifying parameters like name, site, period, and other alert settings. This node is useful for automating the management of Matomo analytics features, enabling users to programmatically create, update, and retrieve analytics data and configurations.

Use Case Examples

  1. Automatically add a custom alert in Matomo when certain metrics exceed thresholds.
  2. Create alerts for website traffic changes or conversion goals to monitor performance.
  3. Manage multiple Matomo resources and operations in a single workflow for comprehensive analytics automation.

Properties

Name Meaning
Query Parameters A collection of optional parameters to customize the API request, such as alert name, site ID, metric conditions, and notification settings.
Request Body A JSON object containing the detailed parameters for the API request, used especially for POST operations like adding or editing alerts.

Output

JSON

  • json - The JSON response from the Matomo API call, which varies depending on the resource and operation executed.

Dependencies

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

Troubleshooting

  • Ensure that the Matomo domain URL and authentication token are correctly configured in the node credentials; missing these will cause errors.
  • Verify that the selected resource and operation are supported and correctly spelled to avoid 'Unknown resource' errors.
  • For POST, PUT, PATCH, and DELETE operations, ensure the request body JSON is correctly formatted to prevent request failures.
  • Check network connectivity and Matomo server availability if HTTP requests fail.

Links

Discussion