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 management. Specifically, for the 'Sites Manager' resource and the 'Get Num Websites To Display Per Page' operation, it retrieves the number of websites to display per page in the Matomo interface. This node is useful for users who want to programmatically access and manage their Matomo analytics data, such as fetching site settings, managing users, or retrieving analytics reports. Practical examples include automating the retrieval of site metrics, managing site configurations, or integrating Matomo data into other workflows.

Use Case Examples

  1. Retrieve the number of websites to display per page in Matomo to customize dashboard views.
  2. Fetch site settings or user access levels for multiple websites managed in Matomo.
  3. Automate the generation of analytics reports for specific sites and periods.

Properties

Name Meaning
Query Parameters Optional parameters to filter or specify details for the API request, such as site ID, access level, or other Matomo-specific filters.

Output

JSON

  • response - The JSON response from the Matomo API containing the requested data, such as the number of websites to display per page.

Dependencies

  • 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 errors.
  • Verify that the selected resource and operation are supported and correctly spelled; unsupported combinations will throw errors.
  • Check the query parameters for correctness and completeness to avoid API request failures.
  • If the API response is empty or unexpected, verify the Matomo server status and API endpoint availability.

Links

Discussion