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. Specifically, for the Media resource with the Get Video Hours operation, it retrieves data on video consumption by hour for a specified site and period. This is useful for analyzing video engagement metrics over time, helping users understand when their video content is most viewed.

Use Case Examples

  1. A marketing analyst wants to track video consumption patterns on their website to optimize video publishing times.
  2. A content manager needs to generate hourly video usage reports to assess viewer engagement and plan content strategy accordingly.

Properties

Name Meaning
Query Parameters Collection of optional parameters to filter or specify the API request details, such as site ID, period, date, and other Matomo-specific filters.

Output

JSON

  • 0 - Parsed JSON response from the Matomo API containing video hours analytics 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; missing these will cause authentication errors.
  • Verify that the query parameters are correctly formatted and valid for the selected operation to avoid API errors.
  • Check network connectivity to the Matomo server to prevent request failures.
  • If the API response is empty or returns '204 No Content', verify that the site ID and date range parameters correspond to available data.

Links

Discussion