Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations across multiple resources. Specifically, for the 'Languages Manager' resource and the 'Get Available Languages' operation, it fetches the list of all available languages in Matomo. This node is useful for users who want to retrieve language data from Matomo for analytics, localization, or reporting purposes. For example, it can be used to dynamically populate language options in a dashboard or to audit supported languages in a Matomo instance.

Use Case Examples

  1. Retrieve all available languages supported by Matomo to display in a language selection dropdown in a web application.
  2. Fetch language information to generate reports on language usage or availability within Matomo analytics.

Properties

Name Meaning
Query Parameters Optional query parameters to filter or modify the API request for available languages.
Request Body JSON body for POST requests if applicable, though typically not used for this GET operation.

Output

JSON

  • json - The JSON response from the Matomo API containing the list of available languages.

Dependencies

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

Troubleshooting

  • Ensure that the Matomo domain URL and authentication token are correctly configured in the node credentials; missing these will cause authentication errors.
  • Verify that the selected resource is 'Languages Manager' and operation is 'Get Available Languages' to avoid incorrect API method calls.
  • Check network connectivity and Matomo server availability if API requests fail or time out.
  • If the API response is empty or malformed, verify the query parameters and ensure they are valid for the Matomo API version in use.

Links

Discussion