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 'Live' resource and 'Get Last Visits Details' operation, it fetches detailed information about the most recent visits to a specified website. This is useful for real-time monitoring of visitor activity, understanding user behavior, and gaining insights into recent traffic patterns. Practical applications include tracking live visitor data for marketing campaigns, monitoring website performance, and analyzing user engagement in near real-time.

Use Case Examples

  1. Fetch detailed data about the last 25 visits to a website to analyze visitor behavior.
  2. Retrieve recent visit details filtered by specific query parameters such as device type or segment.
  3. Use the node to monitor live visitor profiles and their interactions on the site.

Properties

Name Meaning
Query Parameters A collection of optional parameters to filter or customize the API request for fetching last visit details. These include filters like site ID, limit on number of visits, segment definitions, device type, and many others to tailor the data retrieved.

Output

JSON

  • `` - Array of visit detail objects returned by the Matomo API, each containing detailed information about individual visits such as visitor ID, visit time, actions performed, and other 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 in the node credentials; missing these will cause authentication errors.
  • Verify that the query parameters are correctly formatted and valid according to Matomo API specifications to avoid request errors.
  • Check network connectivity to the Matomo server to ensure the API requests can be made successfully.
  • If the API returns no content (204 status), verify that the site ID and other filters actually correspond to existing data.

Links

Discussion