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 Reports, AB Testing, Actions, and more. Specifically, for the 'Custom Report' resource and 'Get Available Metrics' operation, it fetches all available metrics that can be used in custom reports within Matomo. This is useful for users who want to dynamically retrieve metric options for building or analyzing custom reports in their Matomo analytics setup.

Use Case Examples

  1. A marketing analyst wants to retrieve all available metrics to create a tailored custom report for website traffic analysis.
  2. A data engineer automates the process of fetching available metrics to update dashboards with the latest analytics data from Matomo.

Properties

Name Meaning
Query Parameters A collection of optional parameters to filter or specify the API request details, such as site ID, date range, segment, and other Matomo-specific options.

Output

JSON

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

Dependencies

  • Matomo API credentials (domain URL and authentication token) are required to authenticate and authorize API requests.

Troubleshooting

  • Ensure that the Matomo domain URL and authentication token are correctly configured in the node credentials; missing or incorrect credentials will cause authentication errors.
  • Verify that the selected resource and operation are supported and correctly spelled; unsupported combinations will result in errors.
  • Check the query parameters for correctness and compatibility with the Matomo API; invalid parameters may cause the API to return errors or empty results.
  • Network connectivity issues or Matomo server downtime can cause request failures; ensure the Matomo server is accessible from the environment where the node runs.

Links

Discussion