Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various analytics operations based on the selected resource and operation. Specifically, for the 'Form' resource and 'Get Field Size' operation, it retrieves data on how much text users typed in each form field, which is useful for analyzing user interaction with forms on a website. This can help identify fields where users may be struggling or spending more time, aiding in form optimization and user experience improvements.

Use Case Examples

  1. Analyzing the average amount of text entered in each field of a contact form to identify fields that may be too complex or confusing.
  2. Tracking form field usage to optimize form design and improve conversion rates by reducing user drop-off.

Properties

Name Meaning
Query Parameters Parameters to customize the API request, such as filtering or specifying the form ID and other options.

Output

JSON

  • fieldName - The name or identifier of the form field.
  • averageSize - The average size (amount of text) entered by users in the field.
  • maxSize - The maximum size of text entered in the field.
  • minSize - The minimum size of text entered in the field.
  • count - The number of entries recorded for the field.

Dependencies

  • Requires Matomo API credentials including domain and authentication token.

Troubleshooting

  • Ensure that the Matomo API credentials (domain and auth token) are correctly configured; missing credentials will cause errors.
  • Verify that the 'idForm' or relevant form identifier is included in the query parameters to get accurate field size data.
  • Check network connectivity and Matomo server availability if API requests fail.
  • If the API returns no content, verify that the form has recorded data for the requested period or parameters.

Discussion