Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node interacts with the Matomo API to perform various operations related to the Heatmap Session Recording resource, specifically supporting the 'Duplicate Heatmap' operation among many others. It allows users to duplicate an existing heatmap configuration for other sites, facilitating the reuse and management of heatmap data across multiple sites. This is useful for analytics teams who want to replicate heatmap settings without manually recreating them, saving time and ensuring consistency.

Use Case Examples

  1. Duplicate an existing heatmap configuration from one site to another to maintain consistent tracking across multiple websites.
  2. Manage heatmap session recordings by duplicating heatmaps for different site analyses.

Properties

Name Meaning
Query Parameters Collection of optional parameters to customize the API request, such as filters, IDs, flags, and other settings relevant to the heatmap duplication or other API calls.

Output

JSON

  • json - The JSON response from the Matomo API call, which varies depending on the operation and resource used. For the Duplicate Heatmap operation, it typically includes details of the duplicated heatmap or confirmation of the duplication.

Dependencies

  • An API key credential for Matomo API authentication

Troubleshooting

  • Ensure the Matomo domain and authentication token are correctly configured in the node credentials to avoid authentication errors.
  • Verify that the query parameters and request body are correctly formatted JSON and match the expected API schema for the Duplicate Heatmap operation.
  • Check the API endpoint URL construction for correctness, especially the method parameter and query string encoding.
  • Handle HTTP errors and API response errors gracefully by reviewing error messages returned by the Matomo API.
  • If the response is empty or not JSON, verify the API server status and network connectivity.

Discussion