Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations on different resources, including forms. Specifically, for the 'Form' resource and 'Update Form' operation, it allows updating an existing form's configuration and rules in Matomo. This is useful for users who want to programmatically manage and update form analytics settings within their Matomo instance, such as modifying form rules, statuses, or other form-related data.

Use Case Examples

  1. Updating a form's configuration to change its rules or status in Matomo analytics.
  2. Modifying form tracking settings to better capture user interactions on a website form.

Properties

Name Meaning
Query Parameters A collection of optional query parameters to customize the API request, such as form ID, status, or other filters relevant to the form update operation.
Request Body A JSON object containing the data to update the form with, such as new rules, descriptions, or other form attributes.

Output

JSON

  • json - The JSON response from the Matomo API representing the result of the form update operation.

Dependencies

  • Requires Matomo API credentials including domain and authentication token.

Troubleshooting

  • Ensure that the Matomo domain and authentication token credentials are correctly configured; missing these will cause errors.
  • Verify that the 'idForm' or relevant form identifier is included in the query parameters or request body to target the correct form for update.
  • Check the JSON structure in the request body for correctness to avoid API errors.
  • Common error messages include missing credentials, invalid form ID, or malformed request body; resolving these involves verifying credentials, parameters, and JSON syntax.

Links

Discussion