Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node interacts with the Matomo API to perform various operations related to website analytics and management. Specifically, for the 'Sites Manager' resource and the 'Get Site From ID' operation, it retrieves detailed information about a specific site by its ID. This is useful for users who want to fetch site details such as configuration, settings, and metadata from their Matomo instance. Practical examples include automating site data retrieval for reporting or integrating site information into other workflows.

Use Case Examples

  1. Retrieve detailed information about a website by providing its unique site ID to monitor its analytics and settings.
  2. Automate the process of fetching site details to update dashboards or trigger alerts based on site configurations.

Properties

Name Meaning
Query Parameters A collection of optional parameters to filter or specify the details of the site information to retrieve. These parameters allow customization of the API request to get specific data related to the site.

Output

JSON

  • json - The JSON response from the Matomo API containing site details for the specified site ID.

Dependencies

  • An API key credential for Matomo API authentication

Troubleshooting

  • Ensure that the Matomo domain URL and authentication token are correctly configured in the node credentials to avoid authentication errors.
  • Verify that the site ID provided in the query parameters exists in the Matomo instance to prevent 'site not found' errors.
  • Check network connectivity and Matomo server availability if the API request fails or times out.
  • If the API response is empty or returns a 204 status, confirm that the site ID and parameters are correct and that the site has data available.

Links

Discussion