Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations on different resources, including the 'Form' resource with the 'Archive Form' operation. It allows users to archive a form for future reference by sending a properly constructed API request to the Matomo instance. This is useful for managing form analytics and maintaining organized form data within Matomo.

Use Case Examples

  1. Archiving a form after it is no longer active to keep the analytics data but remove it from active tracking.
  2. Automating form management workflows by archiving forms programmatically based on certain conditions.

Properties

Name Meaning
Query Parameters A collection of optional parameters to customize the API request, such as filtering, access control, or specifying IDs relevant to the form or other resources.
Request Body A JSON object containing the request payload for POST operations, used to send additional data required by the API method.

Output

JSON

  • json - The JSON response from the Matomo API call, which may include confirmation of the archive action or details of the archived form.

Dependencies

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

Troubleshooting

  • Ensure that the Matomo domain and authentication token are correctly configured in the node credentials; missing these will cause an error.
  • Verify that the 'resource' is set to 'Form' and the 'operation' is set to 'Archive Form' to match the intended API call.
  • Check the query parameters and request body for correctness and completeness as per Matomo API documentation to avoid request failures.
  • If the API response is empty or unexpected, verify the Matomo server status and API endpoint accessibility.

Links

Discussion