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 ability to pause a heatmap. It allows users to interact with Matomo's extensive analytics features by specifying the resource and operation, along with query parameters and request body data. This node is useful for automating analytics workflows, managing heatmaps, session recordings, and other Matomo modules programmatically.

Use Case Examples

  1. Pause a heatmap for a specific site by providing the heatmap ID and necessary authentication credentials.
  2. Fetch available heatmap types or device types for session recordings to configure analytics tracking.
  3. Add or update heatmap or session recording configurations using JSON request bodies.

Properties

Name Meaning
Query Parameters A collection of optional parameters to customize the API request, such as filters, IDs, flags, and other settings relevant to the selected operation.
Request Body A JSON object containing the request payload for POST, PUT, or PATCH operations to send data to the Matomo API.

Output

JSON

  • json - The JSON response from the Matomo API call, which varies depending on the operation performed.

Dependencies

  • Matomo API credentials including domain URL and authentication token

Troubleshooting

  • Ensure that the Matomo domain and authentication token are correctly configured; missing these will cause an error.
  • Verify that the selected resource and operation are supported and correctly spelled to avoid unknown resource errors.
  • Check the format of query parameters and request body JSON to ensure they conform to the API requirements.
  • If the API returns an empty string or no content, the node outputs a '204 No Content' status.
  • Network or authentication errors will be reported with detailed messages to help diagnose issues.

Links

Discussion