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 analytics modules. Specifically, for the 'User ID' resource and 'Get Users' operation, it fetches a list of users for a specified site and period. It is useful for scenarios where you need to retrieve user data from Matomo for analysis, reporting, or further processing within an n8n workflow.

Use Case Examples

  1. Retrieve a list of users for a specific website to analyze user engagement.
  2. Fetch user data filtered by specific query parameters such as access level or status.

Properties

Name Meaning
Query Parameters A collection of optional parameters to filter or customize the API request, such as access level, user email, user login, limit, offset, and other user-related filters.

Output

JSON

  • json - The JSON response from the Matomo API containing the list of users and their details.

Dependencies

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

Troubleshooting

  • Ensure that the Matomo domain URL and authentication token are correctly configured in the node credentials; missing these will cause an error.
  • Verify that the query parameters are correctly formatted and valid according to Matomo API specifications to avoid request failures.
  • Check network connectivity and Matomo server availability if API requests fail.
  • If the API returns an empty response or '204 No Content', verify that the query parameters and site ID are correct and that there is user data available for the specified criteria.

Links

Discussion