Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations on different resources, including managing goals. Specifically, the 'Delete Goal' operation allows users to delete a specific goal from a Matomo site by providing necessary parameters. This node is useful for automating Matomo analytics management tasks such as adding, updating, or deleting goals, fetching reports, and managing other Matomo modules.

Use Case Examples

  1. Deleting a goal from a Matomo site by specifying the goal ID and site ID.
  2. Automating the removal of outdated or irrelevant goals in Matomo analytics.
  3. Integrating Matomo goal management into a larger workflow for analytics and reporting.

Properties

Name Meaning
Query Parameters Optional parameters to customize the API request for deleting a goal, such as goal ID, site ID, and other filters.

Output

JSON

  • Status Code - Indicates the HTTP status code or response status from the Matomo API after attempting to delete the goal.
  • json - The JSON response from the Matomo API, which may include confirmation of deletion or error details.

Dependencies

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

Troubleshooting

  • Ensure that the Matomo domain and authentication token are correctly configured in the node credentials to avoid authentication errors.
  • Verify that the goal ID and site ID provided in the query parameters are valid and exist in the Matomo instance to prevent 'goal not found' errors.
  • Check the HTTP method and URL constructed for the API call to ensure it matches the Matomo API specification for deleting goals.
  • If the API response is empty or returns a 204 status, confirm that the goal was successfully deleted or that the request was correctly formed.

Links

Discussion