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 View Access' operation among many others. It allows users to retrieve lists of sites with view access, manage site settings, and perform other site-related API calls. This node is useful for automating the management and retrieval of website analytics data from Matomo, such as fetching sites a user can view, updating site settings, or getting site details.

Use Case Examples

  1. Retrieve a list of all sites that a user has view access to in Matomo.
  2. Fetch detailed settings for a specific site by its ID.
  3. Update the alias URLs for a site to manage multiple domain tracking.

Properties

Name Meaning
Query Parameters A collection of optional parameters to filter or specify details for the API request, such as access level, site ID, limit, offset, and many other Matomo-specific query options.
Request Body JSON object for request body, used for POST, PUT, PATCH operations to send data to the API.

Output

JSON

  • json - The JSON response from the Matomo API containing site data or operation results.

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 selected resource and operation are supported and correctly spelled.
  • Check the query parameters for valid values as per Matomo API documentation.
  • Handle HTTP errors or API errors returned by Matomo, which may indicate permission issues or invalid requests.

Links

Discussion