# Add a Lead Form to Your Website

Embed a contact form on your own website so prospects land directly in your Naayya leads

Canonical URL: https://www.naayya.com/help-center/website-lead-form
Category: integrations
Last updated: 2026-06-02T12:00:00Z

Put a contact form on your own website. When someone fills it in, they land straight in your Naayya leads, next to the leads you upload or capture from ads. No spreadsheet, no copy-paste.

## Who this is for

Business owners and managers who run their own website and want website enquiries to arrive in Naayya automatically.

## Get your embed key

Go to **Settings → Website Integration**. The **Lead form** section shows a ready-to-copy snippet using your business embed key.

## Add the form (2 lines)

Paste these where you want the form to appear:

```html
<script type="module" async src="https://naayya.com/plugin/v2/naayya-lead-form.js"></script>
<naayya-lead-form embed-key="YOUR_EMBED_KEY"></naayya-lead-form>
```

The form collects first name, last name, email, phone, and a message. Email and consent are required.

## Options

Set these as attributes on the `<naayya-lead-form>` element:

| Attribute | What it does |
|---|---|
| `embed-key` | Required. Your public embed key from Settings → Website Integration. |
| `source-label` | A label for this form, so you can tell which page an enquiry came from (for example `Homepage` or `Pricing`). |
| `heading` | Heading text shown above the form. |
| `button-label` | Text on the submit button (default `Send`). |
| `success-message` | The message shown after a successful submit. |
| `theme` | `light` (default), `dark`, or `auto`. |
| `privacy-url` | Link for the consent notice. Defaults to Naayya's privacy notice if you do not set one. |

If you run the same form on more than one page, give each a different `source-label` so you can see where each lead came from.

## What happens after someone submits

- The person is added to **Customers → Leads**, the same place all your other leads live.
- Naayya emails you that a new lead arrived, with their details and a link to open it.
- If someone submits twice with the same email, they are not duplicated; the second submission is recorded as another touch on the existing lead.
- Where the visitor came from (such as a Google or newsletter link) is recorded with the lead, so you can see which channels bring enquiries.

## Consent and privacy

The form requires the visitor to agree to a privacy notice before it can be submitted, and that consent is stored with the lead. Set `privacy-url` to your own privacy policy if you have one; otherwise the form links to Naayya's notice.

## Match your brand

The form uses the same brand tokens as the schedule widget. Override any of them from your site's CSS to match your design (see [Website Integration](/help-center/website-integration#match-your-brand)).

## Where to paste it

- **WordPress**: edit the page, add a Custom HTML block, paste the two lines, publish.
- **Squarespace**: edit the page, add a Code block, paste, save.
- **Wix**: add an Embed HTML element, paste, update.
- **GoDaddy and others**: use any HTML or embed section.

## Related

- [Managing leads](/help-center/leads)
- [Website Integration](/help-center/website-integration)
