Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various analytics operations based on the selected resource and operation. Specifically, for the 'User Country' resource and 'Get Continent' operation, it fetches continent data for a site and period from Matomo. This node is useful for users who want to retrieve geographic analytics data, such as continent-level user distribution, to analyze traffic sources or user demographics.

Use Case Examples

  1. Retrieve continent data for a specific website to understand the geographic distribution of visitors.
  2. Fetch continent analytics for a given time period to compare user engagement across different continents.

Properties

Name Meaning
Query Parameters Additional parameters to customize the API request, such as filters or specific data fields to retrieve.

Output

JSON

  • continentData - The continent data retrieved from Matomo API 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 are correctly configured; missing these will cause errors.
  • Verify that the query parameters are correctly formatted and valid 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