Form Tracking & Identification
How Ghost ID automatically captures form data and identifies visitors:
📖 How It Works
- Ghost Pixel monitors all forms on your site
- When a form is submitted, field data is captured (excluding sensitive fields)
- If an email field is detected, the visitor is automatically identified
- Form abandonment is tracked if the visitor interacted for 3+ seconds without submitting
📋 What Gets Captured
- Field names and types
- Email, name, phone, company (categorized automatically)
- Form ID, action URL, method
🔒 What's Protected
💡
- Password fields: never captured
- Credit card / SSN / token fields: automatically excluded
- Fields matching sensitive patterns are masked
🔑 Auto-Identification
Visitors are automatically identified (no code needed) when:
Trigger 1
They submit a form with an email field
Trigger 2
They arrive via a URL with ?email=user@example.com
Trigger 3
A pre-filled email input is detected on page load
⚠️ Form Abandonment
If a visitor interacts with a form for 3+ seconds but leaves without submitting, a form_abandon event is recorded with:
- Which form they abandoned
- How long they interacted
- How many fields they filled
- Whether they had entered an email