Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various analytics and management operations based on the selected resource and operation. It supports a wide range of Matomo modules such as User Country, Actions, Goals, and many others, allowing users to fetch data or perform actions like getting region data for user countries. The node is useful for automating data retrieval and management tasks in Matomo analytics, such as fetching user region data, managing experiments, or retrieving site metrics.

Use Case Examples

  1. Fetch region data for users from the User Country module to analyze geographic distribution of visitors.
  2. Retrieve page titles and metrics from the Actions module to understand user navigation patterns.
  3. Manage A/B testing experiments by adding, updating, or finishing experiments using the AB Testing module.

Properties

Name Meaning
Query Parameters Collection of optional query parameters to customize the API request, such as filters, limits, and flags relevant to the selected operation.

Output

JSON

  • response - The JSON response from the Matomo API call, containing data or status information based on the requested resource and operation.

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 credentials will cause errors.
  • Verify that the selected resource and operation are supported and correctly spelled to avoid unknown resource errors.
  • Check the format and values of query parameters; invalid parameters may cause API request failures.
  • If the API response is empty or a string, the node attempts to parse it as JSON; malformed JSON responses may cause parsing errors.

Links

Discussion