Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations on different resources, including updating goals. Specifically, the 'Update Goal' operation allows users to update an existing goal's settings for a site by sending the appropriate API request to Matomo. This node is useful for automating analytics management tasks such as modifying goals, fetching reports, managing users, and more within Matomo's ecosystem.

Use Case Examples

  1. Updating a goal's configuration to change its name or conversion rules.
  2. Automating the update of multiple goals across different sites in Matomo.
  3. Integrating goal updates into a larger workflow for website analytics management.

Properties

Name Meaning
Query Parameters Collection of optional query parameters to customize the API request, such as filtering or specifying details relevant to the goal update.
Request Body JSON object containing the data to update the goal with, such as new settings or attributes for the goal.

Output

JSON

  • response - The JSON response from the Matomo API after updating the goal, containing details of the updated goal or status information.

Dependencies

  • Requires Matomo API credentials including domain and authentication token.

Troubleshooting

  • Ensure that the Matomo domain and authentication token are correctly configured in the node credentials; missing these will cause errors.
  • Verify that the 'idGoal' and other required fields are correctly included in the request body to avoid API errors.
  • Check the API method and parameters for correctness according to Matomo API documentation to prevent request failures.
  • If the API returns an error, review the error message and stack trace provided by the node for debugging.

Links

Discussion