Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API, allowing users to perform various operations across multiple Matomo resources. Specifically, for the 'Languages Manager' resource and the 'Set 12 Hour Clock For User' operation, it sets the 12-hour clock format preference for a specified user. This is useful for customizing user interface settings based on user preferences, such as displaying time in 12-hour or 24-hour format.

Use Case Examples

  1. Setting a user's time display preference to 12-hour clock format in Matomo for better localization and user experience.
  2. Managing language and time format preferences for users in a Matomo analytics environment.

Properties

Name Meaning
Query Parameters Collection of query parameters to customize the API request, including user identification and clock format settings.
Request Body JSON object containing the request payload for the operation, such as user details and clock format preference.

Output

JSON

  • json - The JSON response from the Matomo API indicating the result of the operation, such as success or error details.

Dependencies

  • Matomo API endpoint and an API authentication token (authToken)

Troubleshooting

  • Ensure that the Matomo domain URL and authentication token are correctly configured in the node credentials.
  • Verify that the user identifier and clock format parameters are correctly set in the query parameters or request body.
  • Check for network connectivity issues or API endpoint availability if requests fail.
  • Handle API errors gracefully by reviewing error messages returned from the Matomo API for troubleshooting.

Links

Discussion