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 'Referrer' resource and 'Get Websites' operation, it fetches a list of referrer websites for a specified site and period. This is useful for analyzing traffic sources and understanding which external websites are driving visitors to your site. Practical applications include marketing analysis, SEO optimization, and traffic source reporting.

Use Case Examples

  1. Fetch a list of websites that referred traffic to your site in the last month to analyze top referrers.
  2. Retrieve referrer websites filtered by specific query parameters such as date range, site ID, or segment to generate detailed traffic source reports.

Properties

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

Output

JSON

  • json - The JSON response from the Matomo API containing the list of referrer websites and associated metrics.

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 an error.
  • Verify that the query parameters are correctly formatted and valid according to Matomo API specifications to avoid request failures.
  • Check network connectivity to the Matomo server and ensure the API endpoint is accessible.
  • If the API returns an error, review the error message for details and adjust parameters or permissions accordingly.

Links

Discussion