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 Audio Hours operation, it retrieves data on audio consumption by hour for a specified site and period. This is useful for analyzing when audio content is most consumed, helping optimize content scheduling and marketing strategies.

Use Case Examples

  1. A user wants to analyze the hourly distribution of audio plays on their website to identify peak listening times.
  2. A marketing analyst uses the node to fetch audio consumption data to correlate with advertising campaigns and improve targeting.

Properties

Name Meaning
Query Parameters A collection of optional parameters to filter or customize the API request, such as site ID, date range, segment filters, and other Matomo-specific options.

Output

JSON

  • `` - Array of audio hours data objects returned by the Matomo API, each representing audio consumption metrics for a specific hour.

Dependencies

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

Troubleshooting

  • Ensure that the Matomo domain and authentication token credentials are correctly configured; missing these will cause errors.
  • Verify that the query parameters are valid and supported by the Matomo MediaAnalytics.getAudioHours API method to avoid request failures.
  • Check network connectivity and Matomo server availability if API requests fail or time out.
  • If the response is empty or unexpected, confirm that the site ID and date range parameters correspond to existing data in Matomo.

Links

Discussion