Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations related to A/B testing experiments, specifically the 'Finish Experiment' operation within the AB Testing resource. It allows users to finish an active A/B experiment by sending a request to the Matomo API with specified query parameters and request body. This node is useful for marketers and analysts who want to programmatically manage and conclude A/B testing experiments in Matomo, enabling automated workflows for experiment lifecycle management.

Use Case Examples

  1. Finish an active A/B experiment by providing the experiment ID and relevant parameters to the Matomo API.
  2. Use the node to automate the process of concluding experiments after a certain condition or time period is met in a marketing automation workflow.

Properties

Name Meaning
Query Parameters Collection of optional parameters to customize the API request, such as experiment ID, site ID, and other filters relevant to the A/B testing experiment.
Request Body JSON object containing the request payload to send with the API call, allowing detailed configuration or data submission for finishing the experiment.

Output

JSON

  • json - The JSON response from the Matomo API representing the result of finishing the A/B experiment, including status and any returned data.

Dependencies

  • Matomo API credentials (domain and auth token) are required for authentication.

Troubleshooting

  • Ensure that the Matomo API credentials (domain and auth token) are correctly configured and valid; missing or invalid credentials will cause authentication errors.
  • Verify that the experiment ID and other required parameters are correctly provided in the query parameters; missing or incorrect IDs will result in API errors.
  • Check the network connectivity to the Matomo API endpoint to avoid request failures.
  • If the API returns an error, review the error message and stack trace provided by the node for debugging.

Links

Discussion