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 'Update Container' operation, it updates the configuration of an existing Google Tag Manager container within Matomo. This is useful for managing and modifying container settings programmatically, such as changing container details or updating tags, triggers, and variables within a container.

Use Case Examples

  1. Updating a GTM container's name or description to reflect new project requirements.
  2. Modifying container settings to enable or disable certain features or permissions.
  3. Automating container updates as part of a CI/CD pipeline for tag management.

Properties

Name Meaning
Query Parameters Collection of optional query parameters to filter or specify details for the API request, such as containerId, workspaceId, and other relevant parameters for the Tag Manager API.
Request Body JSON object containing the data to update the container with, such as new container settings or configuration details.

Output

JSON

  • * - Response data from the Matomo API call, typically the updated container details or status of the update operation.

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 and other required parameters are correctly specified in the query parameters or request body.
  • Check that the Matomo instance is accessible and the API endpoint is correct.
  • Handle HTTP errors or API response errors gracefully; the node throws detailed errors if the API call fails.

Links

Discussion