Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations related to user management and other analytics resources. Specifically, for the 'Users Manager' resource with the 'Get Users' operation, it fetches a list of all users in Matomo based on provided query parameters. This is useful for scenarios where you need to retrieve user data for reporting, auditing, or managing user access within Matomo.

Use Case Examples

  1. Retrieve a list of all users with default parameters.
  2. Filter users by access level or status to get a specific subset of users.
  3. Fetch users with pagination by setting limit and offset query parameters.

Properties

Name Meaning
Query Parameters Collection of optional parameters to filter or modify the user data retrieval, such as access level, status, limit, offset, and other user-related filters.

Output

JSON

  • json - Array of user objects returned from the Matomo API, each containing user details as per the API response.

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 valid and supported by the Matomo API to avoid request failures.
  • Check network connectivity and Matomo API availability if requests fail or time out.
  • If the API returns an error, the node throws a NodeApiError with the message and stack trace for debugging.

Links

Discussion