How Form Detection Works
Understand how LeadToSheet automatically finds and captures forms on your website.
Automatic detection
Once you install the LeadToSheet snippet on your website, it automatically finds the lead forms on your pages — things like contact, quote, and signup forms. You don't need to configure individual forms, add special classes, or change your existing form code in any way. Search boxes and login forms are skipped on purpose.
When a visitor submits a form, the snippet captures the field names and values, along with useful metadata like the page URL, UTM parameters, and browser information. This data is then sent to LeadToSheet and synced to your Google Sheet.
What types of forms are supported
LeadToSheet works with virtually any HTML form, regardless of how it was built. This includes:
- Contact forms (Contact Form 7, WPForms, Gravity Forms, etc.)
- Newsletter signup forms (Mailchimp, Klaviyo, etc.)
- Quote request and enquiry forms
- Booking and appointment forms
- Custom-coded HTML forms
- Forms built with React, Vue, or other JavaScript frameworks
- Forms from page builders like Elementor, Divi, and Webflow
Note
LeadToSheet supports forms on WordPress, Shopify, Wix, Squarespace, Webflow, Carrd, and virtually any other platform. Check our Integrations page for platform-specific setup guides.
How forms are identified
Each form on your website is given a unique "fingerprint" based on its structure — its HTTP method, action URL, and field names. This fingerprint lets LeadToSheet tell your forms apart and route submissions to the correct tab in your spreadsheet.
LeadToSheet also uses AI to give each form a human-readable name based on the page it’s on, the submit button text, and the fields it contains. For example, a contact form on your homepage might be named "Homepage - Contact Enquiry".
What data is captured
For every form submission, LeadToSheet captures:
- All form field names and values (name, email, phone, message, etc.)
- The page URL where the form was submitted
- The referring page (where the visitor came from)
- UTM parameters (source, medium, campaign, term, content)
- Ad click IDs (Google, Facebook, Microsoft, TikTok, LinkedIn)
- Browser and device information (browser, OS, screen size, language, timezone)
- The date and time of submission
Tip
Forms that contain a password input are skipped entirely (so login and sign-up forms aren't captured). For other forms, fields whose names look sensitive - anything matching password, pwd, pass, pin, card, cc, credit card, cvc, cvv, security code, ssn, social, sin, otp, or one time password - are removed from the captured data, along with reCAPTCHA, hCaptcha, and Cloudflare Turnstile response tokens. As a second safety net, any field value that looks like a credit-card number or a US Social Security Number (NNN-NN-NNNN) is dropped regardless of the field name.
