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. Specifically, for the 'Visits Summary' resource and 'Get Unique Visitors' operation, it fetches the number of unique visitors for a specified site and period. This node is useful for users who want to retrieve detailed web analytics data such as visitor counts, actions, bounce rates, and other visit-related metrics from their Matomo instance. Practical examples include generating reports on unique visitors over a time range, analyzing visit frequency, or obtaining core web metrics for performance monitoring.

Use Case Examples

  1. Retrieve the number of unique visitors for a website over the last month to analyze traffic trends.
  2. Fetch core web metrics including visits, bounce count, and actions to monitor website performance.
  3. Get detailed visit data such as max actions and visit length to understand user engagement.

Properties

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

Output

JSON

  • json - The JSON response from the Matomo API containing the requested analytics data, such as unique visitors count and other visit summary metrics.

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 authentication errors.
  • Verify that the query parameters include valid site IDs and date ranges to avoid empty or error responses from the API.
  • Check the operation and resource selections to match supported Matomo API methods; unsupported combinations will throw errors.
  • If the API response is empty or malformed, confirm that the Matomo server is accessible and the API endpoint is correct.

Links

Discussion