Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various analytics and management operations. Specifically, for the Insight resource with the Get Insights operation, it fetches detailed insights data for a specified site and period based on user-defined query parameters. This is useful for users who want to retrieve in-depth analytics insights from their Matomo instance, such as trends, anomalies, or detailed metrics for website performance analysis.

Use Case Examples

  1. Retrieve detailed insights for a website over the last month to analyze visitor behavior and identify key trends.
  2. Fetch insights data filtered by specific segments or metrics to monitor marketing campaign effectiveness.

Properties

Name Meaning
Query Parameters A collection of parameters to customize the API request for insights, such as date range, site ID, segment filters, metrics, and other options to tailor the insights data returned.

Output

JSON

  • json - The JSON response from the Matomo API containing the insights data as per the requested parameters.

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 an error.
  • Verify that the query parameters are correctly formatted and valid for the Insights API to avoid API errors.
  • Check network connectivity to the Matomo instance to ensure the API requests can be made successfully.
  • If the API returns no content, the node outputs a status code 204 indicating no data was found for the given parameters.

Links

Discussion