Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node interacts with the Matomo API to perform various operations related to the Heatmap Session Recording resource, specifically including the deletion of session recordings. It allows users to specify query parameters to filter or identify the session recordings to delete. This node is useful for managing and maintaining session recording data within Matomo, such as removing outdated or unwanted session recordings to keep the analytics data clean and relevant.

Use Case Examples

  1. Deleting a specific session recording by providing its ID and relevant query parameters.
  2. Managing session recordings by deleting multiple recordings based on filters like date or user activity.

Properties

Name Meaning
Query Parameters Collection of optional parameters to filter or specify the session recordings to delete, such as IDs, dates, or other attributes.

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

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

Troubleshooting

  • Ensure that the Matomo domain and authentication token are correctly provided in the credentials; missing these will cause an error.
  • Verify that the query parameters are correctly formatted and valid for the delete operation to avoid API errors.
  • Check the HTTP method used matches the operation; for deletion, the method is DELETE.
  • If the API returns a string response, the node attempts to parse it as JSON; if parsing fails, the raw text is returned instead.

Discussion