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 'Add Experiment' operation under the 'AB Testing' resource allows users to add a new A/B test experiment to their Matomo analytics setup. This is useful for marketers and analysts who want to create and manage A/B testing experiments to optimize website performance and user experience.

Use Case Examples

  1. Creating a new A/B test experiment by specifying experiment details in the request body and sending it to Matomo via this node.
  2. Automating the addition of experiments in Matomo as part of a larger workflow for continuous optimization.

Properties

Name Meaning
Query Parameters Key-value pairs of query parameters to customize the API request for adding an experiment, such as experiment name, variations, success metrics, and other settings.
Request Body JSON object containing the detailed configuration of the A/B test experiment to be added, including experiment settings and parameters.

Output

JSON

  • json - The JSON response from Matomo API representing the result of the add experiment operation, typically including details of the newly created experiment or status information.

Dependencies

  • Matomo API

Troubleshooting

  • Ensure that the Matomo domain URL and authentication token are correctly configured in the node credentials; missing these will cause authentication errors.
  • Verify that the query parameters and request body JSON are correctly formatted and include all required fields for the 'Add Experiment' operation.
  • Check the Matomo API documentation for the correct method names and parameters to avoid 'Unknown resource' or 'Invalid method' errors.
  • If the API response is empty or returns a 204 status, confirm that the experiment was successfully created by checking Matomo directly.

Links

Discussion