Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations related to the 'Languages Manager' resource, specifically the 'Get Language For User' operation. It allows users to retrieve the language preference for a specific user in Matomo. This is useful for scenarios where you want to customize user experience or reports based on user language settings.

Use Case Examples

  1. Retrieve the preferred language of a user by providing their user identifier or login.
  2. Use the language information to tailor content or analytics reports in the user's preferred language.

Properties

Name Meaning
Query Parameters A collection of optional parameters to customize the API request, such as user login, user email, or language code to filter the language data for a user.

Output

JSON

  • json - The JSON response from the Matomo API containing the language information for the specified user.

Dependencies

  • Requires Matomo API credentials including domain and authentication token.

Troubleshooting

  • Ensure that the Matomo domain and authentication token are correctly configured; missing these will cause an error.
  • Verify that the user identifier or login provided in query parameters is valid and exists in Matomo.
  • Check network connectivity and Matomo API availability if requests fail.
  • If the API response is empty or malformed, verify the query parameters and API method correctness.

Links

  • Matomo Languages Manager API - Official documentation for the Languages Manager API in Matomo, detailing available methods and parameters.

Discussion