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 such as Tag Manager, AB Testing, Actions, and more. Specifically, for the 'Tag Manager' resource and 'Update Container Version' operation, it enables updating an existing container version in Google Tag Manager via the Matomo API. This is useful for managing and automating container version updates programmatically within workflows, such as deploying new tag configurations or updating existing ones in GTM containers.

Use Case Examples

  1. Updating a GTM container version with new tags or triggers after changes in a deployment pipeline.
  2. Automating the update of container versions based on dynamic inputs or external triggers in an analytics workflow.

Properties

Name Meaning
Query Parameters Collection of optional query parameters to customize the API request, such as containerId, containerVersionId, workspaceId, and other GTM-related identifiers and flags.
Request Body JSON object representing the request payload to update the container version, including configuration details and changes to be applied.

Output

JSON

  • response - The JSON response from the Matomo API after updating the container version, containing details of the updated container version or status information.

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 an error.
  • Verify that the container ID and version ID provided in query parameters or request body are valid and exist in the GTM account.
  • Check the request body JSON format for correctness; malformed JSON will cause request failures.
  • API errors from Matomo will be returned with descriptive messages; review these messages to adjust parameters or permissions accordingly.

Links

Discussion