Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node interacts with the Matomo API to perform various operations across multiple resources, including the Dashboard resource. Specifically, for the Dashboard resource and the Reset Dashboard Layout operation, it resets the layout of a given dashboard for a user. This is useful for scenarios where a user wants to restore a dashboard to its default or initial layout configuration. The node supports sending query parameters and a request body to customize the API call.

Use Case Examples

  1. Resetting a user's dashboard layout to default after customization errors.
  2. Automating dashboard layout resets as part of a user management workflow.

Properties

Name Meaning
Query Parameters Collection of optional query parameters to customize the API request, such as dashboard ID, user login, and other filters relevant to the dashboard or other resources.
Request Body JSON object containing the request payload for POST operations, allowing detailed customization of the API call.

Output

JSON

  • * - Response data from the Matomo API call, which can vary depending on the operation and resource used.

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 errors.
  • Verify that the resource and operation names are valid and supported by the node to avoid unknown resource errors.
  • Check the format of query parameters and request body JSON to prevent malformed request errors.
  • If the API returns a string response, the node attempts to parse it as JSON; invalid JSON responses may cause parsing errors.

Links

Discussion