Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to retrieve media analytics data. Specifically, the 'Get Media Analytics' operation fetches overall media analytics for a specified site, including metrics such as plays, impressions, and finishes. This node is useful for users who want to analyze media consumption and engagement on their websites or applications using Matomo's media analytics capabilities.

Use Case Examples

  1. A marketing analyst wants to track video and audio plays on their website to understand user engagement with media content.
  2. A website owner wants to retrieve detailed media analytics to optimize media delivery and improve user experience.

Properties

Name Meaning
Query Parameters Parameters to customize the media analytics request, such as filtering by site ID, date range, device type, and other available Matomo API query options.

Output

JSON

  • mediaAnalytics - The JSON response from the Matomo API containing media analytics data such as plays, impressions, finishes, and other relevant metrics.

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 an error.
  • Verify that the query parameters are valid and supported by the Matomo Media Analytics API to avoid request failures.
  • Check network connectivity to the Matomo server to ensure the API requests can be made successfully.
  • If the API returns no content, the node outputs a '204 No Content' status, indicating no data was found for the given parameters.

Links

Discussion