Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations related to user country data, specifically including the 'Get City' operation. It allows users to query city-level geographic data for a website or application tracked by Matomo. This is useful for analytics scenarios where understanding the geographic distribution of users at the city level is important, such as targeted marketing, regional performance analysis, or localization strategies.

Use Case Examples

  1. Retrieve city data for a specific website and date range to analyze user distribution.
  2. Fetch city-level visitor metrics to tailor marketing campaigns based on geographic insights.

Properties

Name Meaning
Query Parameters A collection of optional parameters to customize the API request, such as filtering by IP, date, device type, and other analytics-related options.

Output

JSON

  • json - The JSON response from the Matomo API containing city-level user country data based on the 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 errors.
  • Verify that the query parameters are correctly formatted and valid for the Matomo API to avoid request failures.
  • 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