Home
Credentials Generator
Generate credentials My generated credentials
QA Analytics
Analytics workspace Tracking integrations Analytics reports User Journey Explorer Conversion funnels Analytics debugger
More
Documentation Pricing Contact Us
LoginCreate free account
Docs › QA Analytics

How to track forms

Forms are tracked automatically — field values are never recorded, only that an interaction happened.

EventMeaning
form_viewAt least 50% of the form became visible
form_startFirst field focused
form_field_focusA field received focus (field name, type and label are recorded)
form_field_interactionA field value changed (value not recorded)
form_validation_errorThe browser rejected a field (required, type, pattern…)
form_submit_attemptThe form was submitted
form_submit_successSuccess detected (see below). Counts as a conversion by default.
form_submit_failureFailure detected

How success is detected

  1. The page navigates after submit → success.
  2. The form sends an AJAX request (fetch or XMLHttpRequest) → success for HTTP 2xx/3xx, failure for 4xx/5xx/network errors.
  3. A success message (.success, .alert-success, "Thank you…") or an error element (.error, [aria-invalid=true]…) appears.

You can always report the outcome yourself:

QARandom.formSuccess(document.querySelector('#signup'));
QARandom.formFailure(document.querySelector('#signup'), 'email_taken');

Forms are named from data-qar-name, aria-label, name, id, a heading/legend inside the form, or the action URL.