Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API, allowing users to perform various operations across multiple Matomo resources. Specifically, for the 'API' resource and 'Get Glossary Metrics' operation, it fetches glossary metric definitions for a specified site. This node is useful for retrieving detailed analytics data, managing experiments, actions, reports, and other Matomo functionalities programmatically. For example, users can get metrics definitions to understand available analytics metrics or fetch reports for data analysis.

Use Case Examples

  1. Fetch glossary metric definitions for a website to understand available metrics for reporting.
  2. Retrieve active A/B testing experiments and their metrics for optimization analysis.
  3. Get detailed action metrics like page views or downloads for a specific site and period.

Properties

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

Output

JSON

  • json - The JSON response from the Matomo API containing the requested data, such as glossary metric definitions for the 'Get Glossary Metrics' operation.

Dependencies

  • An API key credential for Matomo API authentication

Troubleshooting

  • Ensure the Matomo domain URL and authentication token are correctly configured in the node credentials to avoid authentication errors.
  • Verify that the query parameters are valid and supported by the selected API method to prevent request failures.
  • Check network connectivity and Matomo server availability if requests time out or fail.
  • If the API returns an error, review the error message for details and adjust the request parameters accordingly.

Links

Discussion