Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations related to website analytics and tracking. Specifically, for the 'Devices Detection' resource and 'Get Model' operation, it retrieves device model data for a specified site and period. This is useful for analyzing the types of devices accessing a website, helping businesses optimize their site for different device models. For example, a marketing analyst might use this node to gather data on the most common device models visiting their site to tailor content or advertising accordingly.

Use Case Examples

  1. Retrieve device model data for a specific website to understand the distribution of device usage among visitors.
  2. Fetch device model analytics for a given time period to analyze trends in device popularity.

Properties

Name Meaning
Query Parameters A collection of optional parameters to filter or specify the data returned by the API, such as site ID, period, date, device type, and other filters relevant to the device model data.

Output

JSON

  • json - The JSON response from the Matomo API containing device model data based on the specified query parameters.

Dependencies

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

Troubleshooting

  • Ensure that the Matomo API credentials (domain and auth token) are correctly configured; missing credentials will cause an error.
  • Verify that the query parameters are correctly formatted and valid for the Matomo API to avoid request errors.
  • Check network connectivity to the Matomo server to ensure the API requests can be made successfully.
  • If the API returns an error, review the error message for details and adjust the request accordingly.

Links

Discussion