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 including the 'Get Timezone Name' operation. It allows users to query Matomo for timezone names based on country and timezone parameters, among many other site management functionalities. This node is useful for automating data retrieval and management tasks in Matomo analytics, such as fetching timezone information for sites, managing site settings, and more.

Use Case Examples

  1. Retrieve the timezone name for a specific country code to configure site analytics correctly.
  2. Fetch all sites managed in Matomo along with their timezone information for reporting purposes.

Properties

Name Meaning
Query Parameters A collection of optional parameters to customize the API request, such as 'countryCode' to specify the country for which to get the timezone name.

Output

JSON

  • json - The JSON response from the Matomo API containing the requested timezone name or other site manager data.

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 'resource' is set to 'Sites Manager' and the 'operation' is set to 'Get Timezone Name' to use this specific functionality.
  • Check that the query parameters, especially 'countryCode', are correctly provided to get accurate timezone information.
  • If the API response is empty or returns '204 No Content', verify the input parameters and Matomo server status.

Links

Discussion