Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node interacts with the Matomo API to retrieve or manipulate analytics data based on the selected resource and operation. It supports a wide range of Matomo modules such as Referrer, AB Testing, Actions, and many others, allowing users to fetch detailed analytics reports, manage experiments, get user data, and more. For the 'Referrer' resource with the 'Get URLs For AI Assistant' operation, it fetches URLs associated with a specific AI assistant referring traffic for a site. This node is useful for integrating Matomo analytics into workflows, automating data retrieval, and managing analytics configurations programmatically.

Use Case Examples

  1. Fetch URLs from a specific AI assistant referring traffic to a website to analyze AI-driven referral sources.
  2. Retrieve detailed referrer data to understand traffic sources and optimize marketing campaigns.
  3. Manage A/B testing experiments by starting, updating, or finishing experiments via the API.

Properties

Name Meaning
Query Parameters A collection of optional parameters to filter or specify the API request details, such as site ID, date, period, segment, and many other Matomo-specific options.

Output

JSON

  • json - The JSON response from the Matomo API containing the requested data, such as URLs for the AI assistant in the referrer context.

Dependencies

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

Troubleshooting

  • Ensure that the Matomo domain and authentication token are correctly configured; missing these will cause an error.
  • Verify that the selected resource and operation are supported and correctly spelled to avoid unknown resource errors.
  • Check the query parameters for correctness and completeness as invalid parameters may cause API errors.
  • If the API response is empty or unexpected, verify the Matomo server status and API endpoint accessibility.

Links

Discussion