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 Query Param Exclusion' operation, it enables setting global query parameter exclusions for all sites managed in Matomo. This is useful for excluding certain URL query parameters from tracking, which can help in cleaning up analytics data by ignoring irrelevant or sensitive parameters globally.

Use Case Examples

  1. A user wants to exclude specific query parameters like session IDs or tracking tokens from all site URLs to ensure cleaner analytics data.
  2. A user needs to configure global query parameter exclusions to comply with privacy regulations by ignoring certain parameters across all tracked sites.

Properties

Name Meaning
Query Parameters A collection of query parameters to be sent with the API request, allowing detailed configuration of the request.

Output

JSON

  • response - The response data returned from the Matomo API call

Dependencies

  • An API key credential for Matomo API authentication

Troubleshooting

  • Ensure the Matomo domain URL and authentication token are correctly configured in the node credentials to avoid authentication errors.
  • Verify that the query parameters provided are valid and supported by the Matomo API for the selected resource and operation.
  • Check the API method names and parameters for correctness as per Matomo API documentation to prevent request failures.
  • If the API returns a 204 No Content status, it means the request was successful but no data was returned; verify if this is expected for the operation performed.

Links

Discussion