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 'Visits Summary' resource and 'Get Max Actions' operation, it retrieves the maximum number of actions (such as page views, downloads, clicks) recorded for a site within a specified period. This is useful for analyzing user engagement and activity intensity on a website.

Use Case Examples

  1. A user wants to fetch the maximum number of actions performed on their website during the last month to understand peak user interaction.
  2. A marketing analyst uses this node to get the max actions metric to evaluate the effectiveness of a recent campaign by comparing user activity before and after the campaign.

Properties

Name Meaning
Query Parameters A collection of optional parameters to filter or specify the data to retrieve from the Matomo API, such as site ID, date range, segment filters, and other analytics options.

Output

JSON

  • maxActions - The maximum number of actions recorded for the specified site and period.
  • otherMetrics - Additional metrics or metadata returned by the Matomo API related to visits summary.

Dependencies

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

Troubleshooting

  • Ensure that the Matomo API credentials (domain and auth token) are correctly configured; missing credentials will cause an error.
  • Verify that the resource and operation parameters are correctly set to 'Visits Summary' and 'Get Max Actions' respectively to avoid unknown resource errors.
  • Check the query parameters for correctness and completeness to ensure the API call returns expected data.
  • If the API response is empty or returns '204 No Content', verify the site ID and date range parameters to ensure data exists for the query.

Links

Discussion