Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations related to the Heatmap Session Recording resource, specifically including the operation to get available target page rules. It allows users to query Matomo's analytics data and manage heatmap and session recording configurations programmatically. This is useful for automating analytics workflows, retrieving heatmap data, and managing session recordings in Matomo.

Use Case Examples

  1. Retrieve available target page rules for heatmap and session recordings to understand which page rules can be applied for tracking.
  2. Fetch heatmap data for a specific site to analyze user interactions such as clicks, scrolls, and movements.
  3. Manage session recordings by adding, pausing, resuming, or deleting recordings programmatically.

Properties

Name Meaning
Query Parameters Collection of optional query parameters to customize the API request for the operation, such as filtering by device type, date, site ID, and other Matomo-specific parameters.

Output

JSON

  • json - The JSON response from the Matomo API containing data relevant to the requested operation, such as available target page rules for heatmap and session recordings.

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 are correctly formatted and valid for the selected operation to prevent API request failures.
  • Check the Matomo API documentation for the specific resource and operation to understand required parameters and expected responses.
  • If the API returns an error, inspect the error message and stack trace provided by the node for debugging.

Links

Discussion