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 'Annotation' resource with the 'Delete All Annotations' operation, it deletes all annotations for a specified site. This is useful for users who want to clear all annotation data in their Matomo analytics for a site, for example, to reset or clean up annotation records.

Use Case Examples

  1. Deleting all annotations for a specific site to clear historical notes or comments.
  2. Automating the cleanup of annotations as part of a data maintenance workflow.

Properties

Name Meaning
Query Parameters Collection of optional query parameters to filter or specify details for the API request, such as site ID, date range, or other filters relevant to annotations.

Output

JSON

  • Status Code - HTTP status code or message indicating the result of the delete operation

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.
  • Verify that the user has sufficient permissions to delete annotations for the specified site.
  • Check that the query parameters, especially site ID, are correctly set to target the intended annotations.
  • If the API returns an error, review the error message for details such as invalid parameters or authentication issues.

Links

Discussion