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 One' operation, it retrieves key metrics and details for a specific site in Matomo. This is useful for users who want to fetch detailed analytics data about a particular website managed in Matomo, such as site statistics, configurations, or performance metrics.

Use Case Examples

  1. Fetch key metrics for a specific website by providing its site ID to monitor traffic and user engagement.
  2. Retrieve detailed information about a single site to analyze its performance or configuration settings.

Properties

Name Meaning
Query Parameters A collection of optional parameters to filter or specify the data to retrieve from the Matomo API for the selected site. These parameters allow fine-tuning of the API request, such as specifying date ranges, metrics, or other filters.

Output

JSON

  • * - The JSON response from the Matomo API containing the requested site data and metrics.

Dependencies

  • Matomo API endpoint and an authentication token (API token) are required to access the Matomo API.

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 'idSite' or other required query parameters are correctly set to fetch data for the intended site; incorrect site IDs may result in empty or error responses.
  • Check the network connectivity to the Matomo server to avoid request timeouts or connection errors.
  • If the API returns an error, review the error message for details on invalid parameters or permissions issues and adjust the request accordingly.

Discussion