Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API, allowing users to perform various operations across multiple Matomo resources. Specifically, for the 'Sites Manager' resource and the 'Set Default Timezone' operation, it enables setting the global default timezone for all sites managed in Matomo. This is useful for administrators who want to standardize the timezone setting across their analytics sites. The node supports a wide range of other Matomo API operations, making it versatile for analytics management and reporting.

Use Case Examples

  1. Set the default timezone for all sites to 'Europe/Paris' to ensure consistent time-based reporting across the platform.
  2. Use the node to update site settings or retrieve site information by selecting different operations under the 'Sites Manager' resource.

Properties

Name Meaning
Query Parameters Collection of optional query parameters to customize the API request, such as filtering or specifying site IDs.

Output

JSON

  • response - The JSON response from the Matomo API call, which varies depending on the operation performed.

Dependencies

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

Troubleshooting

  • Ensure that the Matomo domain URL and authentication token are correctly provided in the credentials; missing these will cause the node to throw an error.
  • Verify that the 'resource' and 'operation' parameters are correctly set to valid values supported by the Matomo API.
  • If the API response is empty or unexpected, check the query parameters and request body for correctness and completeness.

Links

Discussion