Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations across multiple resources, including sending feedback for features. It allows users to specify the resource and operation, along with query parameters and request body data, to interact with Matomo's extensive analytics and management API. For the 'Feedback' resource and 'Send Feedback For Feature' operation, it sends user feedback related to a specific feature in Matomo.

Use Case Examples

  1. Sending user feedback for a feature to Matomo to collect user input and comments about that feature.
  2. Using the node to send feedback data including message, feature name, and user choice to Matomo's feedback module.

Properties

Name Meaning
Query Parameters Key-value pairs of query parameters to customize the API request, such as featureName, message, like, and other feedback-related fields.
Request Body JSON object containing the request payload to send with the API call, used for POST operations like sending feedback.

Output

JSON

  • json - The JSON response from the Matomo API call, which may include confirmation of feedback submission or error details.

Dependencies

  • Matomo API endpoint and an API authentication token (authToken)

Troubleshooting

  • Ensure the Matomo domain URL and authentication token are correctly configured in the node credentials, as missing these will cause errors.
  • Verify that the query parameters and request body are correctly formatted and valid for the selected operation to avoid API errors.
  • Check the HTTP method used matches the operation type (GET, POST, DELETE, etc.) to prevent request failures.
  • If the API response is a string, the node attempts to parse it as JSON; malformed JSON responses may cause parsing errors.

Links

Discussion