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 ID With View Access' operation among many others. It allows users to query Matomo for site IDs that have view access, along with a wide range of other data and management functions across different Matomo modules. This node is useful for automating data retrieval and management tasks in Matomo, such as fetching site information, managing user access, and retrieving analytics data.

Use Case Examples

  1. Retrieve a list of site IDs that the authenticated user has view access to, useful for reporting or access control automation.
  2. Fetch detailed site settings or site URLs for a given site ID to integrate with other systems.
  3. Manage site groups or update site settings programmatically via the Matomo API.

Properties

Name Meaning
Query Parameters A collection of optional parameters to filter or specify the API request details, such as access level, site ID, and other Matomo-specific query options.

Output

JSON

  • json - The JSON response from the Matomo API containing the requested data, such as site IDs with view access or other requested information.

Dependencies

  • An API key credential for Matomo API authentication

Troubleshooting

  • Ensure that the Matomo domain URL and authentication token are correctly provided in the credentials; missing these will cause authentication errors.
  • Verify that the query parameters are correctly formatted and valid for the selected operation to avoid API errors.
  • Check the operation and resource names for correctness; unknown resources or operations will cause errors.
  • If the API response is empty or unexpected, verify the permissions of the API token and the existence of the requested data in Matomo.

Links

Discussion