Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations related to user management and other Matomo resources. Specifically, for the 'Users Manager' resource and 'User Exists' operation, it checks if a user exists based on the provided login. The node constructs API requests dynamically based on the selected resource and operation, sending HTTP requests to the Matomo API endpoint with appropriate query parameters and request bodies. It is useful for scenarios where you need to verify user existence or manage users programmatically within Matomo analytics.

Use Case Examples

  1. Check if a user exists in Matomo by providing the user login.
  2. Manage user access and roles by interacting with the Users Manager resource.
  3. Fetch user details or preferences using the Users Manager operations.

Properties

Name Meaning
Query Parameters Collection of optional query parameters to customize the API request, such as user login, email, or other filters relevant to the operation.

Output

JSON

  • response - The JSON response from the Matomo API call, which may include user existence status or other user-related data depending on the operation.

Dependencies

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

Troubleshooting

  • Ensure that the Matomo domain and authentication token are correctly configured in the node credentials; missing these will cause errors.
  • Verify that the query parameters are correctly set according to the Matomo API documentation for the selected operation.
  • Check network connectivity and Matomo API availability if HTTP requests fail.
  • Error messages from the node will include details from the Matomo API response to help diagnose issues.

Links

Discussion