Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various analytics operations based on the selected resource and operation. It is useful for retrieving detailed web analytics data such as visits summary, actions, goals, user flows, and more from a Matomo instance. For example, it can fetch visit metrics, user actions, or A/B testing experiment data, enabling users to automate and analyze website performance and visitor behavior.

Use Case Examples

  1. Fetch total visits and unique visitors for a website over a specified period.
  2. Retrieve detailed user actions like page views and downloads for a site.
  3. Get A/B testing experiment metrics and reports to analyze experiment performance.

Properties

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

Output

JSON

  • responseData - The JSON response data returned from the Matomo API call, containing analytics metrics or reports based on the selected resource and operation.

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 these will cause errors.
  • Verify that the selected resource and operation are valid and supported by the Matomo API to avoid unknown resource errors.
  • Check the query parameters for correctness and completeness to ensure the API call returns expected data.
  • If the API returns an empty string or no content, verify the request parameters and the availability of data for the specified site and period.

Links

Discussion