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 operation to get location information from an IP address. It is useful for scenarios where you need to enrich data with geolocation information based on IP addresses, such as customizing content, analyzing user distribution, or enhancing analytics reports.

Use Case Examples

  1. Get location details (city, region, country) from a given IP address to understand user geography.
  2. Use the node to fetch country or region data for users visiting a website for targeted marketing or reporting.

Properties

Name Meaning
Query Parameters A collection of optional parameters to customize the API request, such as IP address to geolocate and other filters or settings.

Output

JSON

  • * - The JSON response from the Matomo API containing location data or other requested information.

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 IP address provided in the query parameters is valid and correctly formatted.
  • Check the Matomo API endpoint and method names for correctness to avoid 'Unknown resource' or 'Invalid method' errors.
  • If the API response is empty or '204 No Content', verify that the IP address or parameters used actually correspond to available data in Matomo.

Links

Discussion