Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations on different resources such as Custom Reports, AB Testing, Actions, and many others. Specifically, for the 'Custom Report' resource with the 'Add Custom Report' operation, it allows users to add a new custom report by specifying metrics, dimensions, and other parameters. This node is useful for automating the management and retrieval of analytics data from Matomo, enabling users to create, update, and manage reports programmatically within their workflows.

Use Case Examples

  1. Creating a new custom report with specific metrics and dimensions to analyze website traffic.
  2. Adding a custom report to track user behavior and conversion metrics automatically.
  3. Automating the generation and management of custom reports for multiple websites.

Properties

Name Meaning
Query Parameters A collection of optional parameters to customize the API request, such as filters, IDs, flags, and other settings relevant to the custom report creation.
Request Body A JSON object containing the detailed configuration and data for the custom report to be added.

Output

JSON

  • json - The JSON response from the Matomo API representing the result of the add custom report operation or other API calls.

Dependencies

  • Requires Matomo API credentials including domain and authentication token.

Troubleshooting

  • Ensure that the Matomo domain and authentication token are correctly provided; missing these will cause an error.
  • Verify that the query parameters and request body are correctly formatted as per Matomo API specifications.
  • Check the operation and resource names for correctness to avoid unknown resource or operation errors.
  • If the API response is empty or not JSON, the node returns a '204 No Content' status.

Links

Discussion