Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node interacts with the Matomo API to perform various operations across multiple resources, including Tag Manager. Specifically, for the 'Tag Manager' resource and 'Delete Container Version' operation, it deletes a specified container version within a Google Tag Manager container. This is useful for managing and cleaning up container versions in GTM environments programmatically.

Use Case Examples

  1. Deleting an outdated or incorrect container version in Google Tag Manager to maintain a clean and organized container version history.
  2. Automating the removal of container versions as part of a CI/CD pipeline for GTM containers.

Properties

Name Meaning
Query Parameters Collection of key-value pairs representing query parameters to customize the API request, such as containerId, idContainerVersion, workspaceId, etc.

Output

JSON

  • Status Code - Indicates the HTTP status code or response status when no content is returned
  • json - Parsed JSON response from the Matomo API call, containing the result of the delete operation or other requested data

Dependencies

  • Matomo API credentials (domain and auth token)

Troubleshooting

  • Ensure that the Matomo API credentials (domain and auth token) are correctly configured; missing credentials will cause an error.
  • Verify that the container ID and container version ID provided in the query parameters are correct and exist in the GTM account.
  • Check network connectivity and Matomo API availability if requests fail.
  • The node throws a NodeApiError with details if the API call fails; review the error message and stack trace for troubleshooting.

Links

Discussion