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 Category From Action ID' operation among many others. It allows users to query event categories based on a specific event action ID, enabling detailed event tracking and analytics within Matomo. This is useful for scenarios where you want to analyze event categories linked to particular user actions on a website, such as clicks, downloads, or other interactions tracked by Matomo.

Use Case Examples

  1. Retrieve event categories associated with a specific event action ID to analyze user interaction patterns.
  2. Fetch event category data for a given site and time period to generate reports on event performance.

Properties

Name Meaning
Query Parameters Collection of parameters to customize the API request, such as filtering by site ID, date, or other event-related criteria.
Request Body JSON object for POST operations to send additional data or parameters required by certain API methods.

Output

JSON

  • json - The JSON response from the Matomo API containing event category data related to the specified action ID.

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 query parameters are correctly set and valid for the selected operation to avoid API errors.
  • Check the API method and resource names for typos or unsupported values, as unknown resources or operations will throw errors.
  • If the API response is empty or returns '204 No Content', verify that the requested data exists for the given parameters.

Links

Discussion