Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations related to AB Testing, including retrieving available target attributes for experiments. It allows users to specify query parameters to filter or customize the API request. The node constructs the appropriate API endpoint URL based on the selected resource and operation, sends the HTTP request with authentication, and returns the API response data. This is useful for users who want to automate and manage their Matomo AB Testing experiments and retrieve detailed experiment attributes programmatically.

Use Case Examples

  1. Retrieve available target attributes for AB Testing experiments to understand which attributes can be used for targeting in experiments.
  2. Fetch metrics overview for AB Testing to analyze experiment performance.
  3. Start or finish an AB Testing experiment programmatically.

Properties

Name Meaning
Query Parameters Collection of optional parameters to customize the API request, such as filtering by experiment ID, status, or other attributes relevant to the AB Testing module.

Output

JSON

  • json - The JSON response from the Matomo API containing data relevant to the requested operation, such as available target attributes for AB Testing.

Dependencies

  • An API key credential for Matomo API authentication

Troubleshooting

  • Ensure that the Matomo domain URL and authentication token are correctly configured in the node credentials to avoid authentication errors.
  • Verify that the selected resource and operation are supported by the Matomo API and that the query parameters are valid for the chosen operation.
  • Check network connectivity and Matomo server availability if HTTP requests fail.
  • If the API response is empty or malformed, verify the API endpoint and parameters for correctness.

Links

Discussion