Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node interacts with the Matomo API to perform various operations related to the 'API' resource, specifically including the 'Get Segments Metadata' operation. It allows users to send requests to the Matomo API with customizable query parameters and request bodies, enabling retrieval and management of analytics data such as segments metadata for specified sites. This node is useful for automating data retrieval from Matomo for analytics, reporting, and integration purposes.

Use Case Examples

  1. Retrieve metadata for segments of specified sites to analyze user segmentation and behavior.
  2. Fetch segments metadata with specific filters or parameters to customize the data returned from Matomo API.

Properties

Name Meaning
Query Parameters Collection of key-value pairs to customize the API request, including filters and options for the segments metadata retrieval.

Output

JSON

  • json - The JSON response from the Matomo API containing the requested segments metadata or other data based on the operation and query parameters.

Dependencies

  • Matomo API credentials (domain and auth token)

Troubleshooting

  • Ensure that the Matomo API credentials (domain and auth token) are correctly configured and provided, as missing credentials will cause errors.
  • Verify that the 'resource' and 'operation' parameters are correctly set to valid values supported by the node.
  • Check the query parameters for correctness and completeness to avoid malformed requests.
  • If the API returns an error, inspect the error message and stack trace for details to resolve issues related to API access or request formatting.

Links

Discussion