Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations related to the 'Event' resource, specifically the 'Get Action' operation. It allows users to retrieve event action data for a given site and period, supporting a wide range of query parameters to customize the API request. This node is useful for analytics and reporting scenarios where detailed event action metrics are needed from Matomo, such as tracking user interactions, analyzing event categories, or fetching event names.

Use Case Examples

  1. Retrieve event action data for a specific website and date range to analyze user interactions.
  2. Fetch event actions filtered by category or name to generate detailed reports on user behavior.
  3. Use query parameters to customize the data returned, such as filtering by device type or anonymizing user information.

Properties

Name Meaning
Query Parameters Collection of optional parameters to customize the API request for event actions, including filters like actionName, actionType, date, period, segment, and many others to tailor the data retrieval.

Output

JSON

  • json - The JSON response from the Matomo API containing event action data based on the query parameters provided

Dependencies

  • An API key credential for Matomo API authentication

Troubleshooting

  • Ensure the Matomo domain and authentication token are correctly configured in the node credentials to avoid authentication errors.
  • Verify that the query parameters are valid and supported by the Matomo API to prevent request failures.
  • Check the API method mapping for the 'Event' resource and 'Get Action' operation to ensure the correct API endpoint is called.
  • Handle empty or unexpected responses gracefully, as the API might return '204 No Content' or non-JSON responses.

Discussion