Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations on different resources. Specifically for the 'Form' resource with the 'Delete Form' operation, it deletes a form from tracking in Matomo. This is useful for managing form analytics by removing forms that are no longer needed or relevant. The node supports a wide range of query parameters to customize the API request.

Use Case Examples

  1. Deleting a form by specifying its ID to stop tracking its analytics data.
  2. Managing form lifecycle by archiving or deleting forms as needed.

Properties

Name Meaning
Query Parameters Collection of optional parameters to customize the API request for the form deletion, such as form ID and other filters.

Output

JSON

  • Status Code - Indicates the HTTP status code or response status from the API call, e.g., '204 No Content' for successful deletion without content.
  • json - Parsed JSON response from the Matomo API if available.
  • text - Raw text response from the API if JSON parsing fails.

Dependencies

  • Matomo API credentials including domain 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 form ID or relevant query parameters are correctly specified to avoid API errors.
  • Check the HTTP method and URL constructed for the API call to ensure it matches the Matomo API documentation for deleting a form.
  • If the API returns a string response, the node attempts to parse it as JSON; if parsing fails, the raw text is returned instead.

Links

Discussion