Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API, allowing users to perform a wide range of operations across various Matomo resources such as Tag Manager, AB Testing, Actions, and many others. Specifically, for the 'Tag Manager' resource and the 'Resume Container Tag' operation, it resumes a paused tag within a Google Tag Manager container. This node is beneficial for automating and managing Matomo analytics and tag configurations programmatically, such as resuming container tags, managing experiments, fetching analytics data, and more.

Use Case Examples

  1. Resuming a paused container tag in Google Tag Manager to reactivate tracking without manual intervention.
  2. Automating the management of Matomo tags and containers as part of a CI/CD pipeline for web analytics.
  3. Fetching and updating various analytics data and configurations from Matomo using API calls within workflows.

Properties

Name Meaning
Query Parameters Collection of optional parameters to customize the API request, including identifiers like containerId, workspaceId, and other filters relevant to the operation.
Request Body JSON object containing the request payload for POST operations, allowing detailed configuration or data submission to the Matomo API.

Output

JSON

  • json - The JSON response from the Matomo API call, containing data or status information relevant to the requested operation.

Dependencies

  • 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 errors.
  • Verify that the 'resource' and 'operation' parameters are correctly set to valid values supported by the node.
  • Check the format and content of 'queryParameters' and 'requestBody' to match the expected API requirements for the selected operation.
  • Network issues or incorrect API endpoint URLs can cause request failures; verify connectivity and endpoint correctness.
  • API rate limits or permission issues on the Matomo server may result in errors; ensure appropriate access rights.

Links

Discussion