Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations related to custom variables and other resources. Specifically, for the 'Custom Variable' resource with the 'Get Custom Variables' operation, it fetches custom variable data for a specified site and period. This node is useful for users who want to retrieve analytics data about custom variables tracked in Matomo, enabling detailed analysis of visitor behavior and site performance.

Use Case Examples

  1. Retrieve all custom variables for a specific website over a given date range to analyze visitor segmentation.
  2. Fetch usage statistics of custom variable slots to optimize tracking setup.

Properties

Name Meaning
Query Parameters A collection of optional parameters to filter or specify the data to retrieve from the Matomo API, such as site ID, date range, segment, and other custom filters.

Output

JSON

  • json - The JSON response from the Matomo API containing the requested custom variable data.

Dependencies

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

Troubleshooting

  • Ensure that the Matomo domain URL and authentication token are correctly configured; missing these will cause an error.
  • Verify that the query parameters are correctly formatted and valid for the Matomo API method being called.
  • Check network connectivity to the Matomo server to avoid request failures.
  • If the API returns an error, review the error message for details on invalid parameters or permissions issues.

Links

Discussion