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 recorded sessions. It is useful for managing heatmap and session recording data within Matomo, such as deleting specific recorded sessions for a site. This can help in maintaining or cleaning up session data as needed.

Use Case Examples

  1. Deleting a specific recorded session by providing the session ID and site ID to remove unwanted session data from Matomo.
  2. Managing heatmap session recordings by deleting recorded sessions that are no longer needed or relevant.

Properties

Name Meaning
Query Parameters Collection of optional query parameters to customize the API request, such as filtering by site ID, session ID, or other relevant attributes for the heatmap session recording deletion operation.

Output

JSON

  • Status Code - HTTP status code or message indicating the result of the delete operation
  • json - Response data from the Matomo API, typically confirming deletion or providing details

Dependencies

  • An API key credential for Matomo API authentication

Troubleshooting

  • Ensure the Matomo domain URL and authentication token are correctly configured in the node credentials to avoid authentication errors.
  • Verify that the 'idSite' and 'idLogHsr' (recorded session ID) query parameters are correctly set to target the specific recorded session to delete.
  • Check the HTTP method is DELETE for the delete operation to ensure the API call is correctly formed.
  • If the API returns an error, review the error message for details such as permission issues or invalid parameters and adjust accordingly.

Links

Discussion