Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations on different resources such as goals, actions, users, and more. Specifically, for the 'Goal' resource with the 'Add Goal' operation, it allows users to add a new goal with specified settings to a Matomo site. This is useful for tracking specific user interactions or conversions on a website. For example, a user can add a goal to track form submissions or product purchases.

Use Case Examples

  1. Add a new goal to track newsletter signups on a website.
  2. Create a goal to monitor product purchases for an e-commerce site.

Properties

Name Meaning
Query Parameters Collection of optional parameters to customize the API request for adding a goal, such as goal name, description, revenue, and other settings.
Request Body JSON object containing the detailed settings and configuration for the new goal to be added.

Output

JSON

  • json - The JSON response from the Matomo API after adding the goal, containing details of the created 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 an error.
  • Verify that the query parameters and request body are correctly formatted and valid according to Matomo API specifications to avoid API errors.
  • Check network connectivity and Matomo server availability if requests fail to reach the API.

Links

Discussion