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 'Create Container Version' operation, it enables creating a new version of a Google Tag Manager container within Matomo. This is useful for managing and versioning container configurations programmatically. Users can specify query parameters and a JSON request body to customize the container version creation.

Use Case Examples

  1. Create a new container version in Google Tag Manager for a specific account and workspace.
  2. Automate the deployment of container changes by creating container versions via the Matomo API.

Properties

Name Meaning
Query Parameters Key-value pairs to customize the API request, such as accountId, containerId, workspaceId, and other relevant parameters for the Tag Manager API.
Request Body JSON object representing the payload sent in the request body to create the container version, including container configuration details.

Output

JSON

  • json - The JSON response from the Matomo API representing the result of the container version creation, including details of the created container version.

Dependencies

  • Matomo API credentials (domain and auth token) are required for authentication.

Troubleshooting

  • Ensure that the Matomo API credentials (domain and auth token) are correctly configured; missing credentials will cause errors.
  • Verify that the query parameters and request body are correctly formatted and include all required fields for the 'Create Container Version' operation.
  • Check the Matomo API endpoint URL and network connectivity to avoid request failures.
  • If the API returns an error, review the error message and stack trace provided by the node for debugging.

Links

Discussion