Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations related to the 'Goal' resource, specifically supporting the 'Get Visits Until Conversion' operation among many others. It allows users to query Matomo analytics data by specifying the resource, operation, and query parameters. For example, it can retrieve the number of visits until a conversion goal is achieved, which is useful for analyzing user behavior and conversion funnels in web analytics.

Use Case Examples

  1. Retrieve the number of visits until a specific conversion goal is met for a website to understand user conversion patterns.
  2. Fetch detailed goal metrics to analyze the performance of different goals set up in Matomo for a site.

Properties

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

Output

JSON

  • response - The JSON response from the Matomo API containing the requested data, such as visits until conversion metrics.

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 specified resource and operation are supported by the Matomo API and correctly spelled.
  • Check that query parameters are valid and formatted correctly according to Matomo API documentation to avoid request errors.
  • If the API response is empty or unexpected, confirm that the Matomo instance has data for the requested site and period.

Links

Discussion