Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations related to the 'Sites Manager' resource, specifically the 'Get Timezones List' operation among many others. It allows users to query Matomo for data such as site timezones, site details, and other site management functions by specifying query parameters. The node constructs API requests dynamically based on the selected resource and operation, sends HTTP requests to the Matomo API, and returns the API response data as JSON. This is useful for automating analytics data retrieval and site management tasks within workflows.

Use Case Examples

  1. Retrieve the list of all timezones available in Matomo to configure site settings.
  2. Fetch site details or site groups to manage multiple websites in Matomo.
  3. Get the default timezone or currency settings for all sites to ensure consistent reporting.

Properties

Name Meaning
Query Parameters A collection of optional parameters to filter or specify the details of the API request, such as site ID, date, period, and other Matomo-specific filters.

Output

JSON

  • json - The JSON response from the Matomo API containing the requested data, such as the list of timezones or site information.

Dependencies

  • Requires 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 an error.
  • Verify that the selected resource and operation are supported by the Matomo API and correctly spelled.
  • Check the query parameters for correctness and compatibility with the Matomo API method being called.
  • If the API response is empty or returns a 204 status, verify that the requested data exists and the parameters are valid.

Links

Discussion