Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API, allowing users to perform various operations on different Matomo resources. Specifically, for the 'Custom Dimension' resource and the 'Configure Existing Custom Dimension' operation, it enables users to update settings of an existing custom dimension by sending the appropriate API request with user-defined query parameters and request body. This node is useful for automating and managing Matomo analytics configurations programmatically, such as updating custom dimensions, managing experiments, reports, and other analytics data.

Use Case Examples

  1. Updating an existing custom dimension's settings by specifying its ID and new configuration values.
  2. Automating the management of Matomo analytics by configuring custom dimensions based on dynamic input data.

Properties

Name Meaning
Query Parameters Collection of key-value pairs representing query parameters to customize the API request for the operation. Includes various options like 'active', 'scope', 'id', etc., to specify the custom dimension details.

Output

JSON

  • json - Response data from the Matomo API call

Dependencies

  • An API key credential for Matomo API authentication

Troubleshooting

  • Ensure the Matomo domain URL and authentication token are correctly configured in the node credentials to avoid authentication errors.
  • Verify that the query parameters and request body JSON are correctly formatted and valid for the selected operation to prevent API request failures.
  • Check the Matomo API documentation for the specific resource and operation to ensure the correct method and parameters are used.
  • If the API response is empty or unexpected, verify the permissions and access levels for the Matomo user associated with the API token.

Links

Discussion