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 the 'Get Pages Comparisons Disabled For' operation, it fetches pages for which comparisons are disabled in Matomo analytics. This node is useful for analytics and reporting workflows where users need to retrieve detailed Matomo data programmatically, such as fetching disabled page comparisons, managing experiments, or retrieving user and site metrics.

Use Case Examples

  1. Fetch pages for which comparisons are disabled to analyze which pages are excluded from comparison reports in Matomo.
  2. Retrieve metadata or processed reports for specific sites to integrate Matomo analytics into custom dashboards.

Properties

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

Output

JSON

  • json - The JSON response from the Matomo API containing the requested data, such as pages with disabled comparisons.

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 correctly formatted and valid for the selected API method to prevent request failures.
  • Check the Matomo API documentation for the specific resource and operation to understand required and optional parameters.
  • If the API returns an error, inspect the error message for details and adjust the request accordingly.

Links

Discussion