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 'Get All Sites ID' operation, it retrieves a list of all site IDs configured in Matomo. This is useful for scenarios where you need to programmatically access or manage multiple websites tracked by Matomo, such as fetching site IDs for reporting or automation purposes.

Use Case Examples

  1. Retrieve all site IDs from Matomo to automate reporting workflows.
  2. Fetch site IDs to filter or manage specific websites in bulk operations.

Properties

Name Meaning
Query Parameters Optional parameters to filter or modify the API request for retrieving site IDs. These parameters allow fine-tuning the data returned by the Matomo API, such as filtering by access level or other site attributes.

Output

JSON

  • json - Array of site IDs or site information objects returned from the Matomo API.

Dependencies

  • Matomo API credentials including domain URL and authentication token

Troubleshooting

  • Ensure that the Matomo API credentials (domain and auth token) are correctly configured; missing credentials will cause the node to throw an error.
  • Verify that the 'resource' is set to 'Sites Manager' and the 'operation' is set to 'Get All Sites ID' to match the intended API call.
  • Check network connectivity and Matomo server availability if API requests fail.
  • If the API response is empty or unexpected, verify the query parameters and permissions associated with the API token.

Links

Discussion