Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various analytics and management operations. It supports multiple resources and operations, allowing users to query data such as live visit details, actions, goals, custom reports, and more. The node constructs API requests based on user-selected resource and operation, sends them to the Matomo instance, and returns the API response data. It is useful for automating data retrieval and management tasks in Matomo analytics.

Use Case Examples

  1. Retrieve the most recent visit date and time for a website to monitor real-time traffic.
  2. Fetch detailed information about the last visits to analyze visitor behavior.
  3. Get metrics overview for A/B testing experiments to evaluate campaign performance.

Properties

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

Output

JSON

  • response - The JSON response data returned from the Matomo API call, containing the requested analytics or management information.

Dependencies

  • Requires Matomo API credentials including domain URL and authentication token.

Troubleshooting

  • Ensure that the Matomo domain URL and authentication token are correctly configured; missing these will cause an error.
  • Verify that the selected resource and operation are supported and correctly spelled to avoid unknown resource errors.
  • Check the query parameters for correctness and completeness to prevent API request failures.
  • If the API response is empty or unexpected, confirm that the Matomo instance is accessible and the API endpoint is correct.

Discussion