Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various analytics operations. Specifically, for the 'Referrer' resource and the 'Get Number Of Distinct Websites' operation, it retrieves the count of distinct referrer websites for a specified site. This is useful for understanding the diversity of traffic sources to a website. Users can specify query parameters to filter or customize the data retrieval, such as site ID, date range, or other Matomo API parameters.

Use Case Examples

  1. A marketing analyst wants to know how many unique websites have referred visitors to their site in the last month to evaluate the effectiveness of their outreach campaigns.
  2. A website owner wants to track the number of distinct referral sources over time to identify trends in traffic acquisition.

Properties

Name Meaning
Query Parameters A collection of optional parameters to customize the API request, such as site ID, date, period, segment, and other filters relevant to the Matomo API.

Output

JSON

  • json - The JSON response from the Matomo API containing the count of distinct referrer websites and possibly additional metadata.

Dependencies

  • Matomo API

Troubleshooting

  • Ensure that the Matomo domain URL and authentication token are correctly configured in the node credentials; missing or incorrect credentials will cause authentication errors.
  • Verify that the 'idSite' parameter is set correctly to the target website's ID in Matomo; an incorrect site ID will result in no data or errors.
  • Check the network connectivity to the Matomo server; network issues can cause request failures.
  • If the API response is empty or unexpected, confirm that the Matomo server has data for the specified period and parameters.
  • Review the Matomo API documentation for the 'Referrers.getNumberOfDistinctWebsites' method to ensure all required parameters are provided and correctly formatted.

Links

Discussion