Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations across multiple resources such as dashboards, users, reports, and more. Specifically, for the 'Dashboard' resource and the 'Create New Dashboard For User' operation, it allows creating a new dashboard for a specified user by sending the appropriate API request to Matomo. This node is useful for automating Matomo analytics management tasks, such as creating dashboards, managing users, and retrieving analytics data.

Use Case Examples

  1. Create a new dashboard for a user by specifying the user login and dashboard details in the request body.
  2. Copy an existing dashboard to another user.
  3. Retrieve a list of dashboards for a user.

Properties

Name Meaning
Query Parameters A collection of optional parameters to customize the API request, such as dashboard name, user login, access levels, and other filters relevant to the dashboard creation or management.

Output

JSON

  • json - The JSON response from the Matomo API representing the result of the dashboard creation or other dashboard-related operations.

Dependencies

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

Troubleshooting

  • Ensure that the Matomo domain and authentication token credentials are correctly configured; missing these will cause errors.
  • Verify that the operation and resource parameters are correctly set to match the intended API call.
  • If the API response is empty or returns a 204 status, check if the request parameters are valid and the user has the necessary permissions.
  • Handle JSON parsing errors gracefully if the API returns non-JSON responses.

Links

Discussion