Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations related to the 'Sites Manager' resource, specifically the 'Get Sites ID With Write Access' operation. It allows users to retrieve the IDs of sites for which they have write access, among many other API operations. This is useful for managing site permissions and accessing site-specific data within Matomo analytics.

Use Case Examples

  1. Retrieve a list of site IDs where the user has write access to manage permissions or perform updates.
  2. Fetch site details for sites with write access to automate reporting or configuration tasks.

Properties

Name Meaning
Query Parameters A collection of optional parameters to filter or specify the API request details, such as access level, site IDs, and other Matomo-specific filters.

Output

JSON

  • json - The JSON response from the Matomo API containing site IDs with write access or other requested data.

Dependencies

  • Requires Matomo API credentials including domain URL and authentication token.

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 'resource' is set to 'Sites Manager' and the 'operation' is set to 'Get Sites ID With Write Access' to match the intended API call.
  • Check that query parameters are correctly formatted and valid according to Matomo API documentation to avoid request failures.
  • Common error messages include missing domain or auth token, which can be resolved by providing valid credentials.
  • HTTP request errors may occur if the Matomo server is unreachable or the API endpoint is incorrect; verify network connectivity and API URL.

Links

Discussion