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 Matomo resources. Specifically, for the 'Users Manager' resource and the 'Get Users With Site Access' operation, it retrieves a list of users who have access to specific websites, allowing filtering and customization through query parameters. This node is useful for scenarios where you need to manage or audit user access to websites tracked by Matomo, such as fetching users with certain access levels or filtering by site.

Use Case Examples

  1. Fetch all users with access to a specific site to audit permissions.
  2. Retrieve users filtered by access level (e.g., admin) for a given website.
  3. List users with site access and apply additional filters like status or search terms.

Properties

Name Meaning
Query Parameters Collection of optional parameters to filter and customize the API request, such as access level, user login, site ID, limit, offset, and other filters relevant to user access.

Output

JSON

  • ``
    • userLogin - The login username of the user with site access
    • email - The email address of the user
    • alias - Alias or display name of the user
    • access - Access level the user has for the site (e.g., view, write, admin)
    • sitesAccess - Details of the sites the user has access to, including site IDs and access levels

Dependencies

  • Requires an API authentication token credential for Matomo API access.

Troubleshooting

  • Ensure the Matomo domain URL and authentication token are correctly configured in the node credentials.
  • Verify that the query parameters are valid and supported by the Matomo API for the 'Get Users With Site Access' operation.
  • Check network connectivity and Matomo API availability if requests fail.
  • Handle API errors gracefully; the node throws detailed errors if the API call fails.

Links

Discussion