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 Tag' operation, it enables updating an existing tag within a Google Tag Manager container. Users can specify query parameters and a JSON request body to customize the update. This node is beneficial for automating tag management tasks in Matomo, such as modifying tag configurations programmatically without manual intervention in the Matomo UI.

Use Case Examples

  1. Updating a container tag in Google Tag Manager to change its firing triggers or tag parameters.
  2. Automating the update of tags across multiple containers for consistent tracking setups.
  3. Using the node in workflows to dynamically adjust tag settings based on external data or events.

Properties

Name Meaning
Query Parameters Key-value pairs to specify parameters for the API request, such as container ID, tag ID, and other tag-related settings.
Request Body JSON object containing the detailed configuration and data to update the container tag with.

Output

JSON

  • response - The JSON response from the Matomo API after updating the container tag, containing details of the updated tag 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 errors.
  • Verify that the container ID and tag ID provided in query parameters or request body are valid and exist in the Matomo Tag Manager.
  • Check the JSON structure in the request body for correctness to avoid API errors.
  • If the API returns an error, review the error message for details and ensure the user has sufficient permissions to update container tags.

Links

Discussion