Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node interacts with the Matomo API to perform various operations related to the 'Sites Manager' resource, specifically the 'Get Exclusion Type For Query Params' operation among many others. It constructs API requests based on user-selected resource and operation parameters, sends HTTP requests to the Matomo API, and returns the API response data. This node is useful for automating and integrating Matomo analytics management tasks, such as retrieving exclusion types for query parameters, managing sites, and other analytics-related operations.

Use Case Examples

  1. Retrieve the exclusion type for query parameters configured in Matomo for a specific site.
  2. Fetch site settings or site URLs from Matomo using the Sites Manager resource.
  3. Automate the management of site alias URLs or excluded IPs in Matomo.

Properties

Name Meaning
Query Parameters A collection of key-value pairs representing query parameters to be sent with the API request. These parameters customize the API call based on the selected operation.

Output

JSON

  • responseData - The JSON response data returned from the Matomo API call, which varies depending on the selected resource and operation.

Dependencies

  • Matomo API endpoint and authentication token (API key)

Troubleshooting

  • Ensure that the Matomo domain URL and authentication token are correctly configured in the node credentials; missing these will cause errors.
  • Verify that the selected resource and operation are supported and correctly spelled; unknown resources or operations will throw errors.
  • Check the query parameters for correctness and completeness as invalid parameters may cause the API to return errors or unexpected results.
  • If the API response is empty or a 204 No Content status, verify that the requested data exists and the API call is correctly formed.

Links

Discussion