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 users with access to specific sites. It is useful for scenarios where you need to manage user permissions, roles, and access levels across multiple websites tracked by Matomo. For example, you can fetch all users who have a certain access level to a set of sites, or manage user roles programmatically.

Use Case Examples

  1. Fetch users who have 'admin' access to specific sites to audit permissions.
  2. Retrieve a list of users with 'view' access to a particular site for 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, site IDs, and other filters relevant to the users and sites.

Output

JSON

  • json - The JSON response from the Matomo API containing user and site access information based on the query parameters.

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 query parameters are correctly formatted and valid for the Matomo API method being called.
  • 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