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 'Add Container Variable' operation, it enables adding a new variable to a Google Tag Manager container within Matomo. This is useful for managing and customizing tag variables programmatically, facilitating automation in tag management workflows.

Use Case Examples

  1. Add a new container variable to a specific Google Tag Manager container by providing the container ID and variable details in the request body.
  2. Automate the creation of container variables across multiple containers or accounts to maintain consistent tracking setups.

Properties

Name Meaning
Query Parameters Key-value pairs of query parameters to customize the API request, such as containerId, workspaceId, and other relevant filters or options.
Request Body JSON object containing the details of the container variable to be added, including its configuration and settings.

Output

JSON

  • * - Response data from the Matomo API call, typically the details of the added container variable or operation result.

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 other required parameters are correctly specified in the query parameters or request body.
  • Check the API method and parameters for correctness according to Matomo's Tag Manager API documentation to avoid invalid requests.
  • Handle HTTP errors or unexpected responses gracefully, as the node throws detailed errors if the API call fails.

Links

Discussion