Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various analytics and management operations across multiple Matomo resources. Specifically, for the 'Devices Detection' resource with the 'Get Type' operation, it fetches device type data (e.g., desktop, mobile, tablet) for a specified site and period. This node is useful for users who want to retrieve detailed device type analytics from their Matomo instance, enabling insights into the types of devices accessing their websites or applications.

Use Case Examples

  1. A marketing analyst uses this node to get device type distribution data to optimize website design for mobile users.
  2. A developer integrates this node to fetch device type metrics for reporting dashboards.
  3. A data scientist queries device type data to analyze user behavior patterns across different device categories.

Properties

Name Meaning
Query Parameters Collection of optional query parameters to filter or customize the API request, such as deviceType, idSite, period, date, and others relevant to the Matomo API.

Output

JSON

  • json - The JSON response from the Matomo API containing device type data for the specified site and period.

Dependencies

  • Requires Matomo API credentials including domain URL and authentication token.

Troubleshooting

  • Ensure that the Matomo domain and authentication token credentials are correctly configured; missing these will cause authentication errors.
  • Verify that the 'resource' is set to 'Devices Detection' and the 'operation' is set to 'Get Type' to avoid unknown resource or operation errors.
  • Check that query parameters are correctly formatted and valid according to Matomo API documentation to prevent request failures.
  • If the API response is empty or returns '204 No Content', verify that the site ID and date/period parameters correspond to available data in Matomo.

Links

Discussion