Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to retrieve visitor interest data, specifically the number of visits categorized by visit duration. It is useful for analyzing how long visitors stay on a website, helping to understand user engagement and behavior patterns. For example, a marketing analyst can use this node to fetch visit duration metrics to optimize website content and improve user retention.

Use Case Examples

  1. Fetch the number of visits per visit duration for a specific website to analyze visitor engagement.
  2. Use visit duration data to segment visitors based on how long they stay on the site, aiding targeted marketing campaigns.

Properties

Name Meaning
Query Parameters Parameters to customize the API request, such as filtering by site ID, date range, segment, and other Matomo-specific options.

Output

JSON

  • data - The JSON response from Matomo API containing the number of visits categorized by visit duration.

Dependencies

  • Matomo API access with domain URL and authentication token

Troubleshooting

  • Ensure the Matomo domain URL and authentication token are correctly configured in the node credentials.
  • Verify that the query parameters are valid and supported by the Matomo API for the visitor interest resource.
  • Check network connectivity to the Matomo server to avoid request failures.
  • If the API returns an error, review the error message for details on missing or invalid parameters.

Links

Discussion