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 the 'Get Experiment' operation. It allows users to retrieve detailed information about a specific A/B experiment by specifying the experiment ID and other optional query parameters. This is useful for analyzing experiment data, monitoring experiment status, and extracting metrics for decision-making in marketing and product optimization.

Use Case Examples

  1. Retrieve details of a specific A/B experiment by providing its ID to analyze experiment performance.
  2. Fetch experiment data filtered by status or success metrics to monitor ongoing experiments.
  3. Get the JavaScript template for embedding an experiment on a website.

Properties

Name Meaning
Query Parameters Collection of optional parameters to filter or specify details for the API request, such as experiment ID, status, metrics, and other experiment-related settings.

Output

JSON

  • experiment - Details of the specific A/B experiment retrieved from Matomo API.
  • statusCode - HTTP status code of the API response, indicating success or failure.

Dependencies

  • Matomo API authentication token and domain URL

Troubleshooting

  • Ensure that the Matomo API domain and authentication token are correctly configured; missing these will cause errors.
  • Verify that the experiment ID provided in query parameters is valid and exists in the Matomo system.
  • Check network connectivity and API endpoint accessibility if requests fail.
  • Handle cases where the API returns no content (204) gracefully in the workflow.

Links

Discussion