Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations related to custom variables, specifically the 'Get Usages Of Slots' operation under the 'Custom Variable' resource. It allows users to retrieve usage statistics for custom variable slots on a specified site. This is useful for analyzing how custom variables are utilized within Matomo analytics, helping in tracking and optimizing custom data points.

Use Case Examples

  1. Retrieve usage statistics for custom variable slots on a website to understand how custom variables are distributed and used across different slots.
  2. Fetch detailed usage data for custom variables to analyze visitor behavior and customize tracking strategies.

Properties

Name Meaning
Query Parameters A collection of optional parameters to customize the API request, such as filtering by site ID, date, or other Matomo-specific query options.

Output

JSON

  • json - The JSON response from the Matomo API containing usage statistics of custom variable slots.

Dependencies

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

Troubleshooting

  • Ensure that the Matomo domain URL and authentication token are correctly provided in the credentials; missing these will cause an error.
  • Verify that the query parameters are correctly formatted and valid according to Matomo API specifications to avoid request failures.
  • Check network connectivity and Matomo server availability if API requests fail or time out.
  • If the API response is empty or unexpected, confirm that the specified site ID and other parameters correspond to existing data in Matomo.

Links

Discussion