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 Site Settings' operation, it retrieves configuration settings for a specified site. This node is useful for users who want to programmatically access and manage site settings within Matomo, such as fetching site details, tracking configurations, and other site-specific parameters. Practical examples include automating the retrieval of site settings for reporting or synchronization with other systems.

Use Case Examples

  1. Fetch site settings for a specific website to audit tracking configurations.
  2. Retrieve all site settings to synchronize with an external dashboard or monitoring tool.

Properties

Name Meaning
Query Parameters A collection of optional parameters to filter or specify the details of the site settings to retrieve. These parameters allow fine-tuning of the API request, such as specifying site ID, access level, or other filters.

Output

JSON

  • json - The JSON response from the Matomo API containing the requested site settings or other data depending on the operation.

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 'resource' and 'operation' parameters are correctly set to valid values supported by the Matomo API to prevent unknown resource or operation errors.
  • Check the query parameters for correctness and completeness as invalid or missing parameters may cause the API to return errors or empty results.
  • If the API response is empty or returns a 204 status, verify that the requested data exists and the user has sufficient permissions to access it.

Links

Discussion