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 Page 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 page rules for forms.

Use Case Examples

  1. Fetch available page rules for forms to understand on which pages forms are active.
  2. Retrieve form analytics data for a specific site and period.
  3. Update form configurations or field display names programmatically.

Properties

Name Meaning
Query Parameters A collection of optional parameters to filter or specify the API request details for the selected operation. These parameters vary widely depending on the operation and resource selected.

Output

JSON

  • json - The JSON response from the Matomo API call, which varies depending on the resource and operation selected. It contains the requested data or confirmation of the performed action.

Dependencies

  • An API key credential for Matomo API authentication

Troubleshooting

  • Ensure that 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 and correctly spelled to prevent unknown resource or operation errors.
  • Check the query parameters for correctness and compatibility with the selected operation to avoid API request failures.
  • If the API response is empty or unexpected, verify the Matomo server status and API endpoint availability.

Links

Discussion