Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node interacts with the Matomo API to perform various operations related to the 'Sites Manager' resource, specifically the 'Get Keep URL Fragments Global' operation among many others. It allows users to query and manage site settings, including retrieving global URL fragment settings, managing sites, and other site-related configurations. This node is useful for automating and integrating Matomo site management tasks within workflows, such as fetching site configurations, updating site settings, or retrieving global parameters for URL handling.

Use Case Examples

  1. Retrieve the global setting for keeping URL fragments in Matomo reports to understand how URLs are tracked across all sites.
  2. Fetch detailed site settings for a specific site to audit or update configurations programmatically.
  3. List all sites managed in Matomo along with their access levels and settings for reporting or administrative purposes.

Properties

Name Meaning
Query Parameters A collection of optional query parameters to customize the API request, such as filtering by site ID, access level, or other site-specific settings. These parameters allow fine-tuning of the data retrieved or actions performed.

Output

JSON

  • json - The JSON response from the Matomo API containing the requested data or confirmation of the performed action.

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 selected resource and operation are supported and correctly spelled to prevent unknown resource or operation errors.
  • Check the query parameters for correctness and completeness as invalid or missing parameters may cause API request failures.
  • If the API response is empty or unexpected, confirm that the Matomo instance is accessible and the API endpoint is correct.
  • Review error messages returned by the Matomo API for specific issues such as permission denied, invalid token, or rate limiting, and adjust the configuration accordingly.

Links

  • Matomo API Documentation - Official documentation for the Matomo API, detailing available resources, methods, and parameters.
  • Matomo Documentation - General documentation for Matomo, including setup, configuration, and API usage.

Discussion