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 ability to set the location provider for user geolocation data. It supports a wide range of Matomo API modules and methods, allowing users to query and manipulate analytics data, manage configurations, and perform administrative tasks. The 'Set Location Provider' operation under the 'User Country' resource allows users to specify which location provider Matomo should use for geolocation purposes.

Use Case Examples

  1. Setting the location provider to a specific service to improve geolocation accuracy for user analytics.
  2. Using the node to configure and update user country data settings in Matomo for better regional reporting.

Properties

Name Meaning
Query Parameters A collection of key-value pairs representing query parameters to customize the API request, such as filters, IDs, flags, and other options relevant to the selected operation.
Request Body A JSON object representing the request payload for POST, PUT, or PATCH operations, allowing detailed configuration or data submission to the Matomo API.

Output

JSON

  • json - The JSON response from the Matomo API call, containing data or confirmation of the requested operation.

Dependencies

  • Matomo API credentials (domain and authentication token) are required to authenticate requests.

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; unknown resources or operations will throw errors.
  • Check the format and content of query parameters and request body JSON; invalid or malformed inputs may cause API errors.
  • Network connectivity issues or incorrect Matomo domain URLs can prevent successful API calls.

Links

  • Matomo API Reference - Official documentation for the Matomo API, detailing available modules, methods, parameters, and usage.

Discussion