Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations across multiple Matomo resources. Specifically, for the 'Roll Up Reporting' resource with the 'Add Roll Up' operation, it allows users to add a new roll-up configuration for a site. This is useful for aggregating data from multiple sites into a single roll-up site for consolidated reporting. Users can specify detailed query parameters and a JSON request body to configure the roll-up settings.

Use Case Examples

  1. Adding a roll-up configuration to aggregate analytics data from multiple websites into a single roll-up site for unified reporting.
  2. Creating a roll-up to simplify analysis by consolidating metrics across several related sites.

Properties

Name Meaning
Query Parameters A collection of optional parameters to customize the API request, such as site IDs, date ranges, filters, and other Matomo-specific options.

Output

JSON

  • json - The JSON response from the Matomo API call, containing the result of the Add Roll Up operation or any other requested data.

Dependencies

  • An API key credential for Matomo API authentication

Troubleshooting

  • Ensure that the Matomo domain URL and authentication token are correctly configured in the node credentials, as missing or incorrect values will cause errors.
  • Verify that the query parameters and request body JSON are correctly formatted and valid according to the Matomo API documentation for the Add Roll Up operation.
  • Check the API method name constructed in the URL matches the intended operation to avoid unexpected API errors.
  • If the API response is empty or returns a 204 status, confirm that the request parameters are correct and that the Matomo instance has the necessary data or permissions.

Links

Discussion