Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations related to the 'Content' resource, specifically the 'Get Content Pieces' operation. It allows users to retrieve a list of content pieces and their associated metrics for a specified site and period. This is useful for analyzing content performance on websites tracked by Matomo, such as understanding which content pieces attract the most engagement or conversions.

Use Case Examples

  1. A marketing analyst wants to fetch detailed metrics about different content pieces on their website to optimize content strategy.
  2. A website owner needs to generate reports on content performance over a specific period to assess user engagement.

Properties

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

Output

JSON

  • json - The JSON response from the Matomo API containing the list of content pieces and their metrics.

Dependencies

  • 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 Matomo API to avoid request errors.
  • If the API response is empty or returns '204 No Content', check that the site ID and date range parameters correspond to existing data in Matomo.

Links

Discussion