Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API, allowing users to perform various operations on different Matomo resources. Specifically, for the 'Tag Manager' resource and the 'Delete Container Trigger' operation, it enables users to delete a trigger from a Google Tag Manager container within Matomo. This is useful for managing and maintaining tag configurations programmatically, such as removing obsolete or incorrect triggers from containers.

Use Case Examples

  1. Deleting a specific trigger from a GTM container to clean up tag configurations.
  2. Automating the removal of triggers as part of a deployment or maintenance workflow.

Properties

Name Meaning
Query Parameters Collection of optional parameters to customize the API request, including identifiers like containerId, workspaceId, and triggerId relevant to the Tag Manager operations.

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 - The JSON response from the Matomo API, parsed if possible, containing details of the operation result.

Dependencies

  • Requires 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 errors.
  • Verify that the containerId, workspaceId, and triggerId are correctly specified in the query parameters to avoid 'not found' or permission errors.
  • Check the HTTP method and endpoint URL constructed for the API call to ensure it matches the Matomo API specification for deleting container triggers.
  • If the API response is a string, the node attempts to parse it as JSON; malformed JSON responses may cause parsing errors.

Links

Discussion