# Forms & leads

Receiving submissions from the site is handled by the **Leads** plugin (form builder). It adds a **Leads** section to the panel with two parts: **Forms** and **All leads**.

## Forms

The builder lets you assemble a form from fields of any type without programming.

1. **Leads → Forms → Create**.
2. Set the form's name and slug.
3. Add fields: name, phone, email, message, dropdown, etc. Each field has a label, type, and required flag.
4. Configure where to send new-submission notifications (email and/or Telegram).
5. Save.

One form can be marked the **default form** — it's the one rendered on the landing (the `{leads_form_html|raw}` tag in the home template).

## Where submissions go

When a visitor submits a form:

- the submission is saved to the database and appears in **Leads → All leads**;
- a notification is sent to the specified email/Telegram;
- the new-leads counter lights up in the panel's "bell".

Each submission can be given a status (new / in progress / closed) and deleted.

## Anti-spam

Forms use a honeypot — a hidden trap field. Bots fill it in and such submissions are dropped, while real users don't see the field. No separate setup needed.

## Export

Submissions export to CSV — handy for moving into a CRM or spreadsheet. The export button is on the form's submissions page.

## Embedding a form

- **On the landing** — the default form is rendered automatically.
- **As a separate page** — a form is available at `/form/{slug}` (you can give a direct link, e.g. in an ad).

## Conversions and analytics

A successful form submission on the landing sends a conversion event to Google Ads/GA4, and the first-party [analytics](/docs/panel/settings) records the lead in its reports. This lets you see which channels bring inquiries.
