Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API, allowing users to perform various operations across multiple Matomo resources. Specifically, for the 'Tag Manager' resource and the 'Delete Container Variable' operation, it enables the deletion of a variable from a Google Tag Manager container within Matomo. This is useful for managing and cleaning up container variables programmatically. The node supports a wide range of other Matomo API operations, making it versatile for analytics and tag management tasks.

Use Case Examples

  1. Deleting a specific container variable from a Google Tag Manager container to maintain an organized tag setup.
  2. Managing Google Tag Manager containers by adding, updating, or deleting tags, triggers, and variables through Matomo API calls.

Properties

Name Meaning
Query Parameters Collection of query parameters to customize the API request, including identifiers like containerId, workspaceId, and variableId relevant to the Tag Manager operations.
Request Body JSON payload for POST, PUT, or PATCH requests to send data to the Matomo API, used in operations that modify resources.

Output

JSON

  • Status Code - HTTP status code or response status indicating the result of the API call
  • json - Parsed JSON response from the Matomo API containing operation results or data

Dependencies

  • Requires Matomo API credentials including domain URL 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 and variableId provided in query parameters are correct and exist in the specified container.
  • Check the HTTP method used matches the operation type (DELETE for delete operations).
  • If the API response is empty or a 204 No Content status, confirm that the resource was successfully deleted or that the resource existed.

Links

Discussion