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 Contexts' operation, it fetches the available contexts for a Google Tag Manager container. This is useful for managing and configuring tag contexts within Matomo's Tag Manager module. The node supports a wide range of query parameters to customize the API request.

Use Case Examples

  1. Fetch available contexts for a specific GTM container to understand where tags can be applied.
  2. Retrieve contexts to dynamically configure tags based on the environment (e.g., web or mobile).

Properties

Name Meaning
Query Parameters Collection of optional parameters to customize the API request, such as accountId, containerId, context type (web or mobile), workspaceId, and others relevant to the Tag Manager API.

Output

JSON

  • json - The JSON response from the Matomo API containing the available contexts for the specified Tag Manager container.

Dependencies

  • Requires Matomo API credentials including domain 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 specified resource and operation are supported by the Matomo API and that the query parameters are valid for the 'Get Available Contexts' operation.
  • Check network connectivity and Matomo server availability if API requests fail.
  • If the API response is empty or unexpected, verify the input parameters such as containerId and accountId are correct and exist in Matomo.

Links

Discussion