# Form Builders

> Use AnyTrack custom integrations with form builders that support hidden fields and webhooks to capture click IDs and track lead submissions.

AnyTrack supports automatic lead tracking with popular form builders through native integrations and custom setup options.

👉 [Browse available form integrations](https://anytrack.io/integrations/lead-generation)

![Form Integrations](./e877f64eb92fe307116f342330a053e2c5ab230873ec74ae080e1b560816e151-image-ee0ed1b454.png)

***

## When to Use a Custom Integration

If your form builder isn't listed in the integration catalog, you can still track submissions using a custom setup — provided the platform meets the following conditions:

* 🔄 Can send a **POST request** to a webhook when a form is submitted  
* 🧩 Allows installing **JavaScript code** (to load the AnyTrack Tag)  
* 🔒 Supports adding a **custom hidden field** to the form  

If these are met, you can set up server-side form tracking via a custom integration.

***

## 🛠️ Prerequisites

Make sure you have the following before starting:

* ✅ An active **AnyTrack account** with a connected Property  
* ✅ The **AnyTrack Tracking Tag** installed on your form page  
* ✅ Access to your **form builder’s configuration panel**  
* ✅ Ability to add **JavaScript and hidden fields** to the form  
* ✅ (Optional) Ability to configure a **POST webhook**

***

## 🔧 Setup Guide

### 1. Install the AnyTrack Tag

Install the AnyTrack Tag on the page that hosts your form.\
<a href='/docs/anytrack-tag#find-your-AnyTrack-tag'>Learn how →</a>

***

### 2. Add a Hidden Field for the Click ID

Insert this hidden input field into your form markup:

```html
<input type="hidden" name="`click_id`" value="--CLICK-ID--" />
```

The `--CLICK-ID--` placeholder will be dynamically replaced with the actual tracking click ID.

***

### 3. Create a Webhook Endpoint in AnyTrack

Follow this video to generate your custom webhook URL:

🎥 [Create a Custom Integration Webhook →](https://youtu.be/kn5Vc2Ce6Qs)

***

### 4. Configure Your Form Submission action

In your form settings:

* Set the form to **POST** to your AnyTrack webhook URL
* Include the `click_id` field in the request payload
* You may also include other form data (e.g., `event_name`, `email`, `phone`)

📘 <a href='/docs/event-attributes'>View supported attributes →</a>

***

### 5. Test the Form Submission

Submit a test entry through your form. Then check the:

**AnyTrack Dashboard → Custom Integration → Events Log**

You should see the captured event data.

![Events Log](./f4b6e634f4b2a5629efbdceb9c41ff189678d6db76887c3450eec0b04698a9a5-image-ae2677f09e.png)

> ❗ ****
>
> If the `click_id` is missing from the payload, the event won't be matched to a visitor and will return a "no matches found" error.

***

### 6. Map the Event to Your Ad Platform

In your **Integration settings**, make sure to:

* Map the tracked event to a conversion goal in your ad platform
* Enable the ad integration **`Conversion API`**

![Conversion Mapping](./dc10501036272aacee58d01b03f258e02249a3253380848243fb91c7863452e3-image-2f49b2de46.png)

## Related Articles

- [Advanced Options](/docs/advanced-options-ms-ads)
- [Other Ad Networks](/docs/other-ad-networks)
- [Reddit UTM Parameters](/docs/reddit-ads)
