Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations related to custom reports and other resources. Specifically, for the 'Custom Report' resource and 'Get Available Dimensions' operation, it fetches all available dimensions for custom reports from a Matomo instance. This is useful for users who want to dynamically retrieve dimension options to build or analyze custom reports in Matomo. The node supports a wide range of query parameters to customize the API request.

Use Case Examples

  1. A user wants to retrieve all available dimensions for custom reports to dynamically populate a dropdown in a reporting dashboard.
  2. A data analyst needs to fetch available dimensions to understand what data can be included in a custom report for a specific website tracked by Matomo.

Properties

Name Meaning
Query Parameters A collection of optional parameters to customize the API request, such as filtering by site ID, date, segment, and many other Matomo-specific options.

Output

JSON

  • json - The JSON response from the Matomo API containing the available dimensions for custom reports.

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 an error.
  • Verify that the query parameters are correctly formatted and valid according to Matomo API specifications to avoid API errors.
  • If the API response is empty or unexpected, check the Matomo server status and API access permissions for the provided token.

Links

Discussion