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 'API' resource and the 'Get Suggested Values For Segment' operation, it fetches suggested top values to help build segments in Matomo analytics. This node is useful for automating data retrieval from Matomo, such as fetching analytics reports, managing experiments, or obtaining metadata, which can be integrated into workflows for data analysis or reporting.

Use Case Examples

  1. Fetching suggested segment values to dynamically build user segments for targeted analytics.
  2. Retrieving metadata or processed reports from Matomo for automated dashboard updates.
  3. Managing A/B testing experiments by adding, updating, or retrieving experiment details.

Properties

Name Meaning
Query Parameters Key-value pairs to customize the API request, such as filters, IDs, or flags relevant to the selected operation.

Output

JSON

  • response - The JSON response from the Matomo API call, containing data relevant to the requested operation, such as suggested segment values.

Dependencies

  • Requires Matomo API credentials including domain URL and authentication token.

Troubleshooting

  • Ensure that the Matomo domain and authentication token credentials are correctly configured; missing these will cause errors.
  • Verify that the selected resource and operation are supported and correctly spelled to avoid unknown resource errors.
  • Check the format and validity of query parameters; invalid parameters may cause API errors or unexpected results.
  • If the API response is empty or a 204 No Content status, verify that the request parameters are correct and that data exists for the query.

Links

Discussion