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 Actions' operation, it retrieves the number of actions (such as page views, downloads, and clicks) for a specified site and time period. This is useful for analyzing user interactions on a website, such as tracking page views or download counts.

Use Case Examples

  1. Retrieve the total number of page views for a website over the last month.
  2. Get the number of downloads for specific files on a site during a given period.

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, period, segment, and other filters relevant to the 'Get Actions' operation.

Output

JSON

  • json - The JSON response from the Matomo API containing the actions data for the specified site and period.

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' is set to 'Visits Summary' and the 'operation' is set to 'Get Actions' to match the intended API call.
  • Check 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', verify that the site ID and date range parameters are correct and that data exists for those parameters.

Links

Discussion