Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations across multiple resources, including Privacy Manager. Specifically, for the Privacy Manager resource and the 'Anonymize Some Raw Data' operation, it allows users to anonymize specific raw data for a site by sending appropriate API requests. This is useful for compliance with privacy regulations by anonymizing visitor data such as IP addresses, location, and user IDs. Users can specify query parameters and a request body to customize the anonymization process.

Use Case Examples

  1. Anonymize visitor IP addresses and location data for a specific site to comply with GDPR.
  2. Anonymize user IDs in raw data to protect user privacy while analyzing site metrics.

Properties

Name Meaning
Query Parameters A collection of optional parameters to customize the API request, such as anonymizing IP, location, or user ID, filtering by site ID, date, and other Matomo-specific options.
Request Body A JSON object representing the request payload for POST operations, allowing detailed specification of data to anonymize.

Output

JSON

  • json - The JSON response from the Matomo API containing the result of the anonymization operation or other requested data.

Dependencies

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

Troubleshooting

  • Ensure that the Matomo domain and authentication token are correctly configured; missing these will cause errors.
  • Verify that the query parameters and request body are correctly formatted JSON and valid for the selected operation.
  • Check API permissions for the provided credentials to ensure access to Privacy Manager operations.
  • If the API returns an error, review the error message and stack trace for details on the cause.

Links

Discussion