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 and the Get Current Num Plays operation, it retrieves the number of video/audio plays in the last specified number of minutes. This is useful for monitoring media engagement metrics in real-time or near real-time, such as tracking how many times a video or audio file has been played recently.

Use Case Examples

  1. A marketing analyst wants to monitor the current number of plays of promotional videos on their website to gauge user engagement.
  2. A content manager needs to fetch the number of audio plays in the last 30 minutes to analyze the popularity of podcasts or audio content.

Properties

Name Meaning
Query Parameters A collection of optional parameters to filter or specify 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 number of media plays and related data.

Dependencies

  • Requires Matomo API credentials including domain URL and authentication token.

Troubleshooting

  • Ensure that the Matomo domain and authentication token credentials are correctly set; missing these will cause an error.
  • Verify that the query parameters are correctly formatted and valid for the Matomo API method being called.
  • Check network connectivity to the Matomo server to avoid request failures.
  • If the API returns an empty or unexpected response, verify that the site ID and time window parameters are correct and that media data exists for the specified period.

Links

Discussion