BuddyStat

Form Analytics

Track form submissions, fields, and abandonment rates

Form analytics provides detailed insights into how users interact with your forms, including submission rates, field-level interaction stats, and abandonment analysis.

Enabling Form Analytics

Enable form interaction tracking in your site settings. Once enabled, the tracking script automatically detects forms and captures:

  • Form submissions
  • Field interactions (clicks, focus, input changes)
  • Form abandonment (sessions with interactions but no submission)

Forms must have a data-form-id attribute to be tracked individually. Forms without an ID are grouped under "unknown".

Form Analytics Dashboard

Summary Stat Cards

  • Total Submissions — Number of completed form submissions
  • Unique Forms — Number of distinct forms detected
  • Average Fields Per Form — Mean number of fields across all forms

Form Selector

Choose a form from the dropdown to view its details.

Form Detail Card

  • Submission Count — Total submissions for this form
  • Unique Users — Users who interacted with this form
  • Field Count — Number of fields in this form
  • Abandonment Rate — Percentage of sessions that started filling the form but didn't submit

Fields Table

For each field you'll see:

  • Field Name — The name or id attribute of the field
  • Element Type — Badge showing if it's an input, select, textarea, etc.
  • Input Type — The HTML input type (text, email, tel, etc.)
  • Interactions — Number of interactions with this field
  • Unique Sessions — Sessions where this field was interacted with

Visual background bars on each row indicate relative interaction weight between fields.

Best Practices

  • Always add data-form-id attributes to your forms for accurate tracking
  • Use descriptive field name attributes for readable field names
  • Test form tracking after enabling it in site settings

API Access

Form data is available via server API:

  • GET /sites/:siteId/forms — List all forms with aggregate stats
  • GET /sites/:siteId/forms/:formId — Per-form detail with field stats