Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations related to user management, including retrieving the sites a user has access to. It is useful for automating user access management and reporting in Matomo analytics. For example, it can fetch all websites a specific user can access, which helps in managing permissions and auditing user roles across multiple sites.

Use Case Examples

  1. Fetch all sites a user has access to by specifying the 'Users Manager' resource and the 'Get Sites Access From User' operation, optionally filtering by access level or other query parameters.
  2. Retrieve detailed user access information for auditing or reporting purposes.

Properties

Name Meaning
Query Parameters A collection of optional parameters to filter or specify the details of the API request, such as access level, user login, email, and other filters relevant to the operation.

Output

JSON

  • json - The JSON response from the Matomo API containing the sites a user has access to, including details such as site IDs, access levels, and other relevant metadata.

Dependencies

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

Troubleshooting

  • Ensure that the Matomo domain and authentication token are correctly configured; missing these will cause an error.
  • Verify that the query parameters are correctly formatted and valid for the selected operation.
  • Check network connectivity to the Matomo instance to avoid request failures.
  • If the API returns an error, review the error message for details on invalid parameters or permissions issues.

Links

Discussion