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 archive an experiment. It is useful for managing A/B test experiments within Matomo, such as starting, finishing, updating, and archiving experiments. For example, users can archive a finished A/B test experiment to keep their experiment list organized and maintain historical data.

Use Case Examples

  1. Archiving a finished A/B test experiment to mark it as archived in Matomo.
  2. Managing A/B test experiments by adding, updating, starting, finishing, or deleting them through the node.

Properties

Name Meaning
Query Parameters Collection of optional query parameters to customize the API request for the AB Testing operations, such as filtering by experiment ID, status, or other attributes.
Request Body JSON object containing the request payload for POST operations like archiving an experiment.

Output

JSON

  • json - The JSON response from the Matomo API call, which varies depending on the operation performed. For archiving an experiment, it typically returns confirmation or status of the archive action.

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 operation and resource parameters are correctly set to valid values supported by the Matomo API.
  • If the API returns an error, check the request URL and parameters for correctness and completeness.
  • For POST operations, ensure the request body JSON is properly formatted and includes all required fields.

Links

Discussion