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 supporting the 'Get Available Form Rules' operation among many others. It allows users to query Matomo's analytics and management API endpoints 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 analytics, managing forms, and retrieving available rules for form creation.

Use Case Examples

  1. Retrieve all available form rules to understand how forms can be created and tracked in Matomo.
  2. Fetch form analytics data for a specific site and period to analyze user interactions with forms.
  3. Update form configurations or field display names programmatically via the API.

Properties

Name Meaning
Query Parameters A collection of optional parameters to filter or specify the API request details for the selected operation. These parameters correspond to Matomo API query parameters and can include filters like 'idForm', 'period', 'date', and many others relevant to form analytics and management.

Output

JSON

  • json - The JSON response from the Matomo API containing data relevant to the requested form operation, such as available form rules or form analytics data.

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 the node to throw an error.
  • Verify that the specified resource and operation are supported and correctly spelled; unsupported combinations will result in 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 availability.

Links

Discussion