Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node interacts with the Matomo API to perform various operations related to the 'Sites Manager' resource, specifically the 'Get Sites With Minimum Access' operation. It allows users to retrieve a list of sites filtered by a specified minimum access level, such as view, write, or admin. This is useful for managing site access permissions and auditing user access levels across multiple sites in Matomo.

Use Case Examples

  1. Retrieve all sites where the user has at least 'view' access to monitor accessible sites.
  2. Fetch sites with 'admin' access to manage administrative permissions across sites.

Properties

Name Meaning
Query Parameters Collection of parameters to filter and customize the API request, including 'permission' to specify the minimum access level (e.g., view, write, admin).

Output

JSON

  • ``
    • idSite - The unique identifier of the site.
    • name - The name of the site.
    • main_url - The main URL of the site.
    • group - The group to which the site belongs.
    • creation_date - The date the site was created.
    • excluded_parameters - Parameters excluded from tracking for the site.
    • excluded_ips - IP addresses excluded from tracking for the site.
    • excluded_user_agents - User agents excluded from tracking for the site.
    • timezone - The timezone set for the site.
    • currency - The currency used for the site.

Dependencies

  • An API key credential for Matomo API authentication

Troubleshooting

  • Ensure the Matomo domain URL and authentication token are correctly configured in the node credentials.
  • Verify that the 'permission' query parameter is set to a valid access level (view, write, admin).
  • Check network connectivity to the Matomo instance to avoid request failures.
  • If the API returns an error, review the error message for details and verify the API method and parameters used.

Links

Discussion