Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various analytics and management operations. Specifically, the 'Live' resource with the 'Get Most Recent Visitor ID' operation fetches the most recent visitor ID for a specified site. This is useful for real-time visitor tracking and monitoring recent activity on a website. For example, it can be used to identify the latest visitor for live customer support or analytics dashboards.

Use Case Examples

  1. Fetch the most recent visitor ID for a website to monitor live visitor activity.
  2. Use the visitor ID to retrieve detailed visitor profiles or session data for real-time analysis.

Properties

Name Meaning
Query Parameters A collection of optional parameters to customize the API request, such as site ID, time window, and filters.

Output

JSON

  • 0
    • json - The JSON response from the Matomo API containing the most recent visitor ID and related 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; missing these will cause an error.
  • Verify that the query parameters are valid and supported by the Matomo API for the 'Live.getMostRecentVisitorId' method.
  • Check network connectivity and Matomo server availability if requests fail.
  • If the API response is empty or malformed, verify the site ID and permissions in Matomo.

Links

Discussion