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 At Least View Access' operation among many others. It allows users to query Matomo for site IDs where the user has at least view access, along with a wide range of other Matomo API functionalities. This is useful for automating data retrieval and management tasks in Matomo analytics, such as fetching site information, managing user access, and retrieving analytics data.

Use Case Examples

  1. Retrieve a list of site IDs where the user has at least view access to manage permissions or generate reports.
  2. Fetch all sites with admin access to audit or update site settings.
  3. Get detailed site settings for a specific site ID to configure tracking or reporting.

Properties

Name Meaning
Query Parameters Collection of optional parameters to filter or specify the API request, such as access level, site ID, and other Matomo-specific query options.
Request Body JSON object for POST, PUT, PATCH requests to send data to the Matomo API.

Output

JSON

  • json - The JSON response from the Matomo API containing site IDs or other requested data.

Dependencies

  • Matomo API credentials (domain and auth token)

Troubleshooting

  • Ensure that the Matomo API credentials (domain and auth token) are correctly configured and provided, as missing credentials will cause errors.
  • Verify that the 'resource' and 'operation' parameters are correctly set to valid values supported by the node.
  • Check the query parameters for correctness and compatibility with the Matomo API to avoid request errors.
  • If the API response is empty or unexpected, verify the permissions of the authenticated user in Matomo to ensure access to the requested data.

Links

Discussion