Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations on different Matomo resources. Specifically, for the 'Multi Site' resource with the 'Get All' operation, it retrieves key metrics for all websites managed in Matomo. This is useful for users who want to aggregate or analyze data across multiple sites in a single workflow, such as generating reports or monitoring site performance collectively.

Use Case Examples

  1. A marketing analyst wants to fetch key metrics for all websites tracked in Matomo to create a consolidated performance dashboard.
  2. A system administrator needs to retrieve a list of all sites with their metrics to audit site configurations and usage.

Properties

Name Meaning
Query Parameters A collection of optional parameters to filter or customize the API request for retrieving multi-site data. These parameters allow fine-tuning the data returned by the Matomo API, such as filtering by access level, date ranges, or other site-specific attributes.

Output

JSON

  • json - The JSON response from the Matomo API containing key metrics and details for all websites.

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 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.
  • If the API response is empty or unexpected, confirm that the Matomo instance has data for multiple sites and that the user has sufficient permissions to access this data.

Links

Discussion