Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations across multiple resources, including AB Testing. Specifically, the 'Start Experiment' operation under the 'AB Testing' resource allows users to start a paused or scheduled A/B test experiment. This is useful for marketers and analysts who want to control the timing of their experiments programmatically. For example, a user can automate the start of an A/B test based on certain triggers or workflows.

Use Case Examples

  1. Starting a paused A/B test experiment to begin collecting data.
  2. Automating the activation of scheduled experiments as part of a marketing campaign.

Properties

Name Meaning
Query Parameters A collection of optional parameters to customize the API request, such as experiment ID, site ID, and other filters relevant to the A/B testing or other Matomo modules.
Request Body A JSON object containing the request payload for POST operations, such as starting an experiment with specific settings.

Output

JSON

  • * - The JSON response from the Matomo API call, which varies depending on the operation and resource. For the 'Start Experiment' operation, it typically includes the status or details of the started experiment.

Dependencies

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

Troubleshooting

  • Ensure that the Matomo domain and authentication token are correctly configured; missing these will cause an error.
  • Verify that the operation and resource names are valid and supported by the Matomo API to avoid unknown resource or method errors.
  • Check the format of query parameters and request body JSON to prevent malformed request errors.

Links

Discussion