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 At Least View Access' operation among many others. It allows users to retrieve lists of sites with different access levels, manage site settings, and perform other site-related actions within Matomo. This is useful for analytics and site management automation, such as fetching sites a user can view or administrate, updating site configurations, or retrieving site metadata.

Use Case Examples

  1. Retrieve a list of all sites where the user has at least view access to manage permissions or generate reports.
  2. Fetch site details and settings for a specific site ID to automate site configuration tasks.
  3. Get sites grouped by access level to audit user permissions across multiple websites.

Properties

Name Meaning
Query Parameters Collection of optional parameters to filter or specify details for the API request, such as access level, site ID, or other site-related filters.

Output

JSON

  • json - The JSON response from the Matomo API containing site information such as site IDs, names, URLs, and access levels.

Dependencies

  • Matomo API credentials (domain and auth token) are required for authentication.

Troubleshooting

  • Ensure that the Matomo API credentials (domain and auth token) are correctly configured and valid.
  • Verify that the domain URL and token_auth are provided; missing these will cause an error.
  • Check that the 'resource' and 'operation' parameters are correctly set to valid values supported by the node.
  • If the API returns an error, inspect the error message and stack trace for details on the issue, such as permission problems or invalid parameters.

Links

Discussion