Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node interacts with the Matomo API to perform various operations related to the 'Languages Manager' resource, specifically the 'Get Translations For Language' operation. It allows users to retrieve all translation strings for a specified language code from a Matomo instance. This is useful for internationalization and localization tasks, enabling users to fetch language-specific translation data for use in analytics or reporting.

Use Case Examples

  1. Fetch all translation strings for the French language (language code 'fr') to customize a Matomo dashboard or report.
  2. Retrieve translation data for Spanish ('es') to support a multilingual analytics interface.

Properties

Name Meaning
Query Parameters A collection of optional parameters to filter or modify the API request, such as language code or other relevant filters for the translations.

Output

JSON

  • json - The JSON response containing translation strings for the specified language from the Matomo API.

Dependencies

  • Matomo API endpoint URL and an authentication token (API key)

Troubleshooting

  • Ensure the Matomo domain URL and authentication token are correctly configured; missing these will cause an error.
  • Verify that the language code provided in the query parameters is valid and supported by the Matomo instance.
  • Check network connectivity to the Matomo API endpoint to avoid request failures.
  • If the API returns an error, review the error message for details on invalid parameters or permissions issues.

Links

Discussion