Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations across multiple resources. Specifically, for the 'Heatmap Session Recording' resource and the 'Add Session Recording' operation, it allows users to add a new session recording with specified rules and parameters. This is useful for tracking user sessions on websites to analyze user behavior through session recordings and heatmaps. Practical applications include monitoring user interactions, improving user experience, and optimizing website performance based on session data.

Use Case Examples

  1. Adding a new session recording to track user interactions on a website for a specific site ID and device type.
  2. Creating session recordings with custom rules to analyze user behavior on different pages or segments.

Properties

Name Meaning
Query Parameters Collection of optional query parameters to customize the API request, such as site ID, device type, heatmap type, sample rate, and other filters relevant to session recordings.
Request Body JSON object containing the detailed configuration and rules for the session recording to be added.

Output

JSON

  • json - The JSON response from the Matomo API representing the result of the add session recording operation, including details of the created session recording or any error messages.

Dependencies

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

Troubleshooting

  • Ensure that the Matomo API credentials (domain and auth token) are correctly configured; missing credentials will cause an error.
  • Verify that the query parameters and request body JSON are correctly formatted and valid according to Matomo API specifications.
  • Check the API endpoint URL constructed by the node for correctness, especially the method parameter corresponding to the operation.
  • If the API returns an error, inspect the error message and stack trace provided by the node for debugging.

Links

Discussion