Form Tracking
Form tracking in Usermaven allows you to automatically capture form submissions on your website, giving you valuable insights into how visitors interact with your forms and helping you identify potential leads.
Why track forms?
Forms are one of the most important conversion points on your website. Whether it’s a contact form, newsletter signup, demo request, or checkout form, understanding form interactions helps you:
- Measure conversion rates: See how many visitors complete your forms
- Identify drop-off points: Understand where users abandon forms
- Capture lead information: Automatically collect form data for lead generation
- Optimize form performance: Make data-driven improvements to increase conversions
How form tracking works
Usermaven offers two approaches to form tracking:
Automatic Form Tracking
When enabled, Usermaven automatically detects and captures form submissions on your website. This is the easiest way to get started—simply enable the feature and Usermaven handles the rest.
- Captures all form submissions without additional code
- Automatically extracts form field values
- Scrubs sensitive data (passwords, credit cards, SSNs)
- Works with most standard HTML forms
Learn more about Automatic Form Tracking →
Manual Form Tracking
For forms that aren’t automatically captured (AJAX forms, iframe forms, or custom implementations), you can use manual tracking methods to send form data to Usermaven.
- Thank you page tracking
- Google Tag Manager integration
- Submit button click tracking
- Custom event tracking
Learn more about Manual Form Tracking →
Form states in Usermaven
Once forms are captured, they appear in your Usermaven dashboard in one of two states:
| State | Description |
|---|---|
| Unmapped | Forms that have been captured but not yet configured. Form data is collected but not mapped to contact properties. |
| Mapped | Forms that have been configured with field mappings. Form fields are mapped to contact properties like email, name, and company. |
Learn more about Managing Forms →
Quick start
1. Enable form tracking
Add the data-form-tracking attribute to your Usermaven script:
<script
src="https://cdn.usermaven.com/sdk/v1/lib.js"
data-key="YOUR_API_KEY"
data-tracking-host="https://events.usermaven.com"
data-form-tracking="all"
></script>2. Verify forms are being captured
Submit a test form on your website, then check your Usermaven dashboard. The form should appear in your Forms section within a few minutes.
3. Map form fields
Once a form appears in your dashboard, configure field mappings to connect form fields to contact properties. This enables lead tracking and enriches your contact data.
What’s next?
- Automatic Form Tracking - Enable and configure automatic form capture
- Manual Form Tracking - Track forms that aren’t auto-captured
- Managing Forms - Configure field mappings and manage captured forms
- Troubleshooting - Solve common form tracking issues
- Lead Tracking - Convert form submissions to leads