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 the 'Get Goals' operation. It allows users to retrieve a list of all goals for a specified site by sending a properly constructed API request to the Matomo server. This node is useful for analytics and reporting scenarios where goal tracking data from Matomo is needed, such as monitoring conversion goals on websites.

Use Case Examples

  1. Retrieve all goals for a specific website to analyze conversion performance.
  2. Fetch goal data to integrate with other marketing or analytics tools for comprehensive reporting.

Properties

Name Meaning
Query Parameters A collection of optional parameters to filter or customize the API request for retrieving goals, such as site ID, date range, limit, and other Matomo-specific filters.

Output

JSON

  • json - The JSON response from the Matomo API containing the list of goals and their details for the specified site.

Dependencies

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

Troubleshooting

  • Ensure that the Matomo domain URL and authentication token are correctly configured in the node credentials; missing or incorrect credentials will cause authentication errors.
  • Verify that the 'resource' is set to 'Goal' and the 'operation' is set to 'Get Goals' to match the intended API call.
  • Check the query parameters for correctness and compatibility with the Matomo API to avoid request errors.
  • If the API response is empty or returns a 204 status, confirm that the specified site has goals configured in Matomo.

Links

Discussion