Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node interacts with the Matomo API to perform various operations across multiple resources. Specifically, for the 'Sites Manager' resource and the 'Get Sites With Admin Access' operation, it retrieves a list of sites for which the user has administrative access. This is useful for managing and auditing site permissions within Matomo. The node supports a wide range of query parameters to filter and customize the API request.

Use Case Examples

  1. Retrieve all sites where the user has admin access to audit permissions.
  2. Filter sites by specific criteria such as access level or site group before retrieving them.

Properties

Name Meaning
Query Parameters A collection of optional parameters to filter or customize the API request, such as access level, site ID, or other site-related filters.

Output

JSON

  • * - The JSON response from the Matomo API containing the list of sites with admin access and their details.

Dependencies

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

Troubleshooting

  • Ensure that the Matomo API credentials (domain and auth token) are correctly configured; missing credentials will cause an error.
  • Verify that the 'resource' is set to 'Sites Manager' and the 'operation' is set to 'Get Sites With Admin Access' to match the intended API call.
  • Check the query parameters for correctness and supported values to avoid API errors.
  • If the API response is empty or unexpected, verify the user's permissions in Matomo to confirm they have admin access to any sites.

Links

Discussion