Product Benefits Pricing Guides Docs About Contact us Try it out
Analytics tools

PostHog Opted-In Form Values Event Tracking

PostHog autocapture can add opted-in form field values to events. Learn event tracking steps that stay useful without leaking personal data.

· 3 min read

Funnel charts tell you that people drop off a form. They rarely tell you why. Was it the plan they picked, the country they chose or the team size they entered? Without the value in the event, you see a count of abandoned forms and have to guess the rest.

On 4 November 2026, PostHog announced that autocapture can append the committed value of an input, textarea or select to an event, but only when that field is explicitly opted in. Values are off by default. The changelog does not name the setting used to opt a field in, so follow the PostHog libraries documentation for the exact syntax.

Why This Matters

Capturing form values is a double-edged feature. Used carefully, it explains drop-off in minutes. Used carelessly, it sends names, emails or free-text notes into your analytics tool, which creates a privacy and compliance problem you then have to clean up.

The opt-in design is the right default. Your job is to decide which fields earn a place and to prove that nothing else leaks.

Data Points to Track

  • field_name and form_id for each opted-in field
  • field_value_category: the value bucketed (for example plan tier or country), never raw free text
  • field_opt_in_status (opted in, not opted in)
  • form_step and form_total_steps
  • time_to_commit_seconds for the field
  • form_outcome (submitted, abandoned, errored)
  • validation_error_type where one occurred
  • device_type and browser_name

Setup Steps

  1. List every form on your site and mark each field as safe, sensitive or never capture.
  2. Pick no more than three safe, low-cardinality fields per form, such as plan, role or company size.
  3. Opt those fields in using the method in the PostHog documentation, in a staging environment first.
  4. Submit test forms and inspect the raw events. Confirm that only the chosen fields carry a value.
  5. Confirm that password, email, phone and free-text fields never appear in any event.
  6. Build a funnel broken down by the captured value, such as completion by plan tier.
  7. Review the captured properties monthly and remove any field that no longer answers a question.

Actionable Insights

If one option in a select field has a much higher abandon rate, the problem may be its follow-up question or its price, not the form itself. Look at the next step for that choice.

A field with a long time to commit and a high error rate needs clearer labels or inline help.

If a value bucket is tiny, you have too little data to act on. Merge buckets or wait for more traffic.

Treat any unexpected value in an event, such as an email address, as an incident. Remove the opt-in, delete the data and review your masking rules.

Common Mistakes to Avoid

Do not opt in free-text fields. Do not assume a field is safe because it looks harmless: an “other” box often collects names. Do not forget that captured values may need a mention in your privacy notice and a retention rule.

Who Should Own This

Assign one person to approve every opted-in field. Without an owner, the list grows quietly, and a year later nobody can say why a field is captured. A short register with the field, the reason, the reviewer and the review date is enough. Product managers usually know which question a field answers, while engineers can confirm how it is masked, so the sign-off should involve both. Revisit the register whenever a form changes, because a renamed or repurposed field can start carrying different data from the one you approved.