Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to retrieve or manipulate analytics data based on the selected resource and operation. It supports a wide range of Matomo modules such as Visit Time, Actions, Goals, and many others, allowing users to fetch detailed analytics reports, manage experiments, update configurations, and more. For the 'Visit Time' resource with the 'Get Visit Information Per Local Time' operation, it fetches visit data categorized by local time for a specified site and period. This node is useful for automating data retrieval from Matomo for analytics, reporting, and monitoring purposes.

Use Case Examples

  1. Fetch visit information per local time to analyze visitor behavior patterns throughout the day.
  2. Retrieve detailed action metrics for a website to understand user interactions.
  3. Manage A/B testing experiments by adding, updating, or finishing experiments programmatically.

Properties

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

Output

JSON

  • json - The JSON response from the Matomo API containing the requested data or operation result

Dependencies

  • An API key credential for Matomo API authentication

Troubleshooting

  • Ensure the Matomo domain URL and authentication token are correctly configured in the node credentials to avoid authentication errors.
  • Verify that the selected resource and operation are supported by your Matomo instance and that the API endpoint is accessible.
  • Check the query parameters for correctness and completeness as invalid or missing parameters may cause API errors.
  • If the API response is empty or unexpected, confirm that the site ID and date/period parameters are valid and that data exists for the requested range.

Discussion