Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various analytics operations. Specifically, for the Media resource with the 'Get Current Most Plays' operation, it fetches the most played media items (audio or video) within a recent time window (e.g., last N minutes). This is useful for monitoring trending media content in real-time or near real-time, such as identifying popular audio tracks or videos on a website or platform.

Use Case Examples

  1. A media analytics team wants to track which audio titles are currently most played on their site to adjust promotional strategies.
  2. A content manager uses the node to get the most played videos in the last 30 minutes to feature trending content on the homepage.

Properties

Name Meaning
Query Parameters A collection of optional parameters to filter or customize the API request, such as time window, site ID, device type, and other Matomo-specific filters.

Output

JSON

  • ``
    • ``
      * json - The JSON response from the Matomo API containing the most played media items data.

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 authentication errors.
  • Verify that the query parameters are correctly formatted and valid according to Matomo API documentation to avoid request errors.
  • If the API response is empty or returns '204 No Content', check that the time window and site ID parameters are set correctly to fetch recent data.

Links

Discussion