> ## Documentation Index
> Fetch the complete documentation index at: https://www.thred.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Custom Form Tracking

> Configure field selectors to attribute submitted leads back to AI-origin traffic.

## Required Configuration

In the Thred app, open **Settings -> General -> Track AI Search Conversions** and set:

* `Form ID`: your form element `id` attribute
* `Name Input`: the `name` attribute for your name field
* `Email Input`: the `name` attribute for your email field

Optional:

* `Company Input`: the `name` attribute for your company field

## Example Mapping

If your form looks like this:

```html theme={null}
<form id="contact-form">
  <input name="name" />
  <input name="email" />
  <input name="company" />
</form>
```

Then your Thred configuration should be:

* `Form ID`: `contact-form`
* `Name Input`: `name`
* `Email Input`: `email`
* `Company Input`: `company`

## Save and Verify

1. Click **Save changes** in Thred.
2. Search your website in ChatGPT, Gemini, Perplexity, or Claude and click-through.
3. Submit a test form from your website flow.
4. Confirm the conversion appears in Thred with mapped name/email (and company if configured).
