Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API, allowing users to perform various operations across multiple Matomo resources. Specifically, for the 'Sites Manager' resource and the 'Set Global Excluded IPs' operation, it enables setting IP addresses to be globally excluded from all sites tracked by Matomo. This is useful for filtering out internal or unwanted traffic from analytics data. The node supports a wide range of query parameters to customize the API request and accepts a JSON request body for POST operations.

Use Case Examples

  1. Use case: Exclude a range of IP addresses globally to prevent internal company traffic from skewing analytics data.
  2. Use case: Update global excluded IPs dynamically based on changing network configurations.

Properties

Name Meaning
Query Parameters Collection of optional query parameters to customize the API request, such as filtering, access levels, and other Matomo-specific options.
Request Body JSON object containing the data to be sent in the body of POST requests, such as the list of IPs to exclude globally.

Output

JSON

  • json - The JSON response from the Matomo API call, which may include confirmation of the update or error details.

Dependencies

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

Troubleshooting

  • Ensure that the Matomo domain URL and authentication token are correctly configured in the node credentials; missing these will cause an error.
  • Verify that the query parameters and request body are correctly formatted as per Matomo API specifications to avoid request failures.
  • Check network connectivity to the Matomo instance to ensure the API endpoint is reachable.

Links

Discussion