Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations related to website analytics and management. Specifically, for the 'Sites Manager' resource and the 'Get Sites From Group' operation, it retrieves all sites belonging to a specified group. This is useful for users who want to manage or analyze grouped websites within Matomo, such as fetching site details for a particular group to generate reports or perform batch operations.

Use Case Examples

  1. Fetch all sites under a specific group to analyze their traffic collectively.
  2. Retrieve site details from a group to update settings or permissions in bulk.

Properties

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

Output

JSON

  • * - The JSON response from the Matomo API containing the list of sites in the specified group and their details.

Dependencies

  • Requires Matomo API credentials including domain URL and authentication token.

Troubleshooting

  • Ensure that the Matomo domain URL and authentication token are correctly configured in the node credentials; missing these will cause authentication errors.
  • Verify that the group name provided in the query parameters exists in Matomo; otherwise, the API may return an empty list or error.
  • Check network connectivity to the Matomo instance to avoid request failures.
  • If the API returns unexpected data or errors, confirm that the Matomo API version supports the 'SitesManager.getSitesFromGroup' method and that the user has sufficient permissions.

Links

Discussion