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 'Get Available Environments With Publish Capability' operation, it fetches the list of environments that have publishing rights for a given site or container. This is useful for managing and automating Google Tag Manager environments within Matomo, enabling users to programmatically retrieve environments where tags can be published.

Use Case Examples

  1. Retrieve all environments with publish capability for a specific Google Tag Manager container to automate deployment workflows.
  2. Fetch available environments to display in a dashboard for managing tag publishing rights.

Properties

Name Meaning
Query Parameters A collection of optional parameters to filter or specify the request details, such as accountId, containerId, workspaceId, environment, and other relevant filters for the Tag Manager API.

Output

JSON

  • json - The JSON response from the Matomo API containing the list of available environments with publish capability for the specified container or site.

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 query parameters such as accountId, containerId, and workspaceId are correctly set to avoid empty or incorrect responses.
  • Check network connectivity and Matomo API availability if requests fail.
  • If the API returns an error, review the error message for details on permission issues or invalid parameters.

Links

Discussion