Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations related to AB Testing, specifically including the ability to get available statuses for experiments. It is useful for users who want to manage and retrieve data about A/B testing experiments in Matomo, such as fetching experiment statuses, metrics, and other related information. For example, a user can retrieve the list of available statuses to understand the current state of experiments or filter experiments by their status.

Use Case Examples

  1. Retrieve the list of available statuses for A/B testing experiments to monitor experiment progress.
  2. Fetch metrics overview for active A/B testing experiments to analyze performance.
  3. Start or finish an A/B testing experiment programmatically based on external triggers.

Properties

Name Meaning
Query Parameters Collection of optional query parameters to customize the API request, such as filtering by experiment ID, status, or other attributes relevant to the AB Testing module.

Output

JSON

  • response - The JSON response from the Matomo API call, containing data relevant to the requested AB Testing operation, such as available statuses for experiments.

Dependencies

  • An API key credential for Matomo API authentication

Troubleshooting

  • Ensure that the Matomo domain URL and authentication token are correctly configured in the node credentials; missing or incorrect credentials will cause authentication errors.
  • Verify that the query parameters are correctly formatted and valid for the selected operation; invalid parameters may result in API errors or empty responses.
  • Check the API method name constructed in the URL matches the Matomo API documentation for the AB Testing module and operation; incorrect method names will cause request failures.
  • If the API response is empty or returns a 204 status, confirm that the requested data exists and the filters applied are not too restrictive.

Links

Discussion