Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various analytics and management operations based on the selected resource and operation. It is useful for retrieving detailed analytics data, managing experiments, campaigns, users, and other Matomo features programmatically. For example, it can fetch URLs from a specific referrer website ID, get active experiments, or retrieve page titles and URLs for a site.

Use Case Examples

  1. Fetch URLs from a specific referrer website ID to analyze traffic sources.
  2. Retrieve active A/B testing experiments for a site to monitor ongoing tests.
  3. Get detailed page URL metrics for a website to understand user navigation patterns.

Properties

Name Meaning
Query Parameters A collection of optional parameters to customize the API request, such as filtering by date, site ID, segment, limit, and other Matomo-specific options.

Output

JSON

  • json - The JSON response from the Matomo API containing the requested data based on the resource and operation selected.

Dependencies

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

Troubleshooting

  • Ensure that the Matomo domain and authentication token credentials are correctly configured; missing these will cause errors.
  • Verify that the selected resource and operation are valid and supported by the Matomo API to avoid unknown resource errors.
  • Check the format and values of query parameters to ensure they conform to Matomo API expectations to prevent request failures.
  • If the API response is empty or returns '204 No Content', verify that the query parameters and site IDs are correct and that data exists for the requested period.

Links

Discussion