Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various analytics operations based on the selected resource and operation. Specifically, for the 'Visitor Interest' resource and the 'Get Number Of Visits By Days Since Last' operation, it retrieves the number of visits categorized by the days since the last visit for a specified site. This is useful for understanding visitor return frequency and engagement patterns over time.

Use Case Examples

  1. A marketing analyst wants to track how often visitors return to their website after their last visit to optimize retargeting campaigns.
  2. A website owner wants to analyze visitor loyalty by examining the distribution of visits based on the days elapsed since the previous visit.

Properties

Name Meaning
Query Parameters Parameters to customize the API request, such as site ID, period, segment, and other filters relevant to the Matomo API call for visitor interest data.

Output

JSON

  • 0 - The JSON response from the Matomo API containing the number of visits by days since last visit, structured as per Matomo's VisitorInterest.getNumberOfVisitsByDaysSinceLast API method.

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 correctly set according to Matomo API documentation to avoid invalid requests.
  • Check network connectivity to the Matomo server to ensure the API calls can be made successfully.
  • If the API response is empty or unexpected, verify the site ID and date range parameters.

Links

Discussion