Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to retrieve or manipulate analytics data based on the selected resource and operation. Specifically, for the 'Visit Time' resource with the 'Get By Day Of Week' operation, it fetches visit data categorized by the day of the week for a specified site and period. This is useful for analyzing visitor behavior patterns across different days, helping marketers and analysts optimize their strategies accordingly.

Use Case Examples

  1. A user wants to analyze website traffic trends by day of the week to identify peak visit days.
  2. A marketer needs to compare visit durations on weekdays versus weekends to adjust campaign timings.

Properties

Name Meaning
Query Parameters Collection of optional parameters to filter or customize the API request, such as site ID, period, date, segment, and other Matomo-specific filters.

Output

JSON

  • 0 - The JSON response from the Matomo API containing visit time data by day of the week, including metrics and dimensions as provided by the API.

Dependencies

  • Matomo API endpoint URL and an authentication token (API 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 valid and supported by the Matomo API for the selected operation.
  • Check network connectivity to the Matomo server to avoid request failures.
  • If the API returns an error, review the error message for details and adjust parameters accordingly.

Links

Discussion