Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations related to the 'Form' resource, specifically the 'Get Available Statuses' operation among many others. It allows users to query Matomo for analytics and management data by specifying the resource and operation, along with optional query parameters and request body data. This node is useful for automating data retrieval and management tasks in Matomo, such as fetching form statuses, managing experiments, actions, and other analytics modules.

Use Case Examples

  1. Retrieve the list of available statuses for forms in Matomo to monitor form analytics.
  2. Fetch detailed form analytics data for a specific site and period.
  3. Automate the management of forms, including adding, updating, or deleting forms via the Matomo API.

Properties

Name Meaning
Query Parameters Collection of optional parameters to filter or specify the API request details for the selected operation. Includes a wide range of possible parameters such as 'abandonedCarts', 'access', 'accountId', 'active', 'date', 'idSite', 'limit', 'period', 'segment', and many others to customize the API call.

Output

JSON

  • json - The JSON response from the Matomo API call, which varies depending on the selected resource and operation. For 'Get Available Statuses' under 'Form', it returns the list of available statuses for forms.

Dependencies

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

Troubleshooting

  • Ensure that the Matomo API credentials (domain and auth token) are correctly configured; missing credentials will cause an error.
  • Verify that the selected resource and operation are supported and correctly spelled; unknown resources or operations will throw an error.
  • Check the query parameters for correctness and compatibility with the Matomo API to avoid request failures.
  • If the API response is empty or unexpected, verify the Matomo server status and API endpoint accessibility.

Links

Discussion