Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various analytics operations based on the selected resource and operation. It supports a wide range of Matomo modules such as Media, Actions, Goals, and more, allowing users to query data, manage experiments, retrieve reports, and perform other analytics-related tasks. For the Media resource with the Has Records operation, it checks if media analytics records exist for a specified site, which is useful for verifying the presence of media data before further analysis.

Use Case Examples

  1. Check if media analytics records exist for a specific website to determine if media tracking is active.
  2. Retrieve media analytics data such as audio or video plays and consumption metrics for detailed media performance analysis.

Properties

Name Meaning
Query Parameters A collection of optional parameters to customize the API request, such as filtering by date, site ID, or specific media attributes.

Output

JSON

  • response - The JSON response from the Matomo API containing the requested data or status information.

Dependencies

  • 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 an error.
  • Verify that the selected resource and operation are supported and correctly spelled; unsupported combinations will throw an error.
  • Check the query parameters for correctness and compatibility with the Matomo API to avoid request failures.
  • If the API response is empty or returns a 204 status, it indicates no content available for the request parameters.

Links

Discussion