Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API, allowing users to perform various operations on different Matomo resources. Specifically, for the 'Sites Manager' resource and the 'Set Default Currency' operation, it enables setting the global default currency for all sites managed in Matomo. This is useful for administrators who want to standardize the currency used across their analytics sites. The node supports a wide range of other Matomo API operations, making it versatile for managing analytics data and configurations.

Use Case Examples

  1. Set the default currency to USD for all sites in Matomo to ensure consistent financial reporting.
  2. Use the node to update the default currency to EUR when expanding analytics to European markets.

Properties

Name Meaning
Query Parameters Optional query parameters to customize the API request, such as filtering or specifying details relevant to the operation.
Request Body JSON object containing additional data required for POST operations, if applicable.

Output

JSON

  • json - The JSON response from the Matomo API call, containing the result of the operation such as confirmation of the default currency being set.

Dependencies

  • Requires Matomo API credentials including domain URL and authentication token.

Troubleshooting

  • Ensure that the Matomo domain URL and authentication token are correctly provided in the credentials; missing these will cause the node to throw an error.
  • Verify that the currency code provided in the query parameters is valid and supported by Matomo to avoid API errors.
  • Check network connectivity and Matomo API availability if requests fail or time out.

Links

Discussion