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 the Import Container Version operation, it enables importing a container version from an exported payload into a Google Tag Manager container. This is useful for managing and automating container configurations in GTM via Matomo's API.

Use Case Examples

  1. Import a container version into a GTM container by providing the exported container version payload and specifying the container and workspace IDs.
  2. Automate the deployment of GTM container versions as part of a CI/CD pipeline using this node to import container versions programmatically.

Properties

Name Meaning
Query Parameters A collection of optional parameters to customize the API request, such as containerId, workspaceId, exportedContainerVersion, and other filters or settings relevant to the operation.
Request Body A JSON object representing the request payload, used for POST operations like importing a container version. Contains the exported container version data and other relevant details.

Output

JSON

  • json - The JSON response from the Matomo API call, which may include details about the imported container version or status messages.

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 exported container version payload is correctly formatted JSON; invalid JSON will cause request failures.
  • Check that the containerId and workspaceId parameters are correctly specified to target the right GTM container and workspace.
  • If the API returns an error, review the error message for details and ensure the Matomo instance supports the requested operation.

Links

Discussion