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 Goal Metrics' operation. It allows users to retrieve goal-specific metrics for a given site and period, which is useful for analyzing the performance of goals set in Matomo analytics. Typical use cases include tracking conversion rates, monitoring goal completions, and evaluating the effectiveness of marketing campaigns or website objectives.

Use Case Examples

  1. Retrieve metrics for a specific goal to analyze conversion performance.
  2. Fetch goal data for a given site and time period to generate reports.
  3. Use goal metrics to optimize marketing strategies based on user behavior.

Properties

Name Meaning
Query Parameters Collection of optional parameters to customize the API request, such as filtering by date, site ID, goal ID, and other metrics-related options.

Output

JSON

  • json - The JSON response from the Matomo API containing goal metrics data.

Dependencies

  • Requires 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 errors.
  • Verify that the query parameters are valid and supported by the Matomo API to avoid request failures.
  • Check network connectivity to the Matomo server to ensure API requests can be made successfully.
  • If the API returns an error, review the error message for details and adjust the request accordingly.

Links

Discussion