The v2 lead form can send an enquiry from your website to Naayya. Submitted enquiries can then appear in Admin → Customers → Leads.
The current Admin → Settings → Website Integration page provides Schedule setup only. It does not provide a Lead form control or a lead-form snippet. Use the markup below only when you already have an issued embed key. If you need a key, contact support@naayya.com to ask whether lead-form setup is available for your business.
Who this is for#
Business owners and managers who run their own website, have an issued public embed key, and want website enquiries to reach Naayya.
Get your embed key#
The current Website Integration page does not show a Lead form section. A lead submission requires an issued public embed key; a business name or slug is not enough. If you do not already have a key, contact support@naayya.com to ask whether lead-form setup is available for your business.
Add the form (2 lines)#
Paste these lines into the HTML or code block where you want the form to appear:
<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 includes first name, last name, email, phone, and message fields. Email and consent are required before a visitor can submit it.
Options#
Set these attributes on the <naayya-lead-form> element when you need to
adjust the form:
| Attribute | What it does |
|---|---|
embed-key | Required. An issued public key for the business that receives the enquiry. A business name or slug cannot be used for lead submissions. |
source-label | Labels the form's page or placement, such as Homepage or Pricing. |
heading | Heading shown above the form. |
button-label | Text on the submit button. The default is Send. |
success-message | Message shown after a successful submission. |
theme | light (default), dark, or auto. |
privacy-url | Link used for the consent notice. If omitted, the form uses Naayya's privacy notice. |
If you place the form on more than one page, use a different source-label on
each form so you can identify its placement when reviewing enquiries.
What happens after someone submits#
- A successful submission can appear in Admin → Customers → Leads.
- The visitor sees a confirmation message after a successful submission.
- If the submission does not succeed, the form shows an error so the visitor can correct the form or try again.
- If the same email is already a lead for the business, the submission is recorded as another touch on that existing lead.
Consent and privacy#
The visitor must agree to the privacy notice before submitting the form. Set
privacy-url to your own privacy policy when you want the consent link to open
your policy; otherwise, the form uses Naayya's privacy notice.
Match your brand#
Set theme="light", theme="dark", or theme="auto" on the form to match
the surrounding page. For the schedule widget's visual controls, see Match
your brand.
Where to paste it#
- WordPress: edit the page and add a Custom HTML block.
- Squarespace: edit the page and add a Code block.
- Wix: add an Embed HTML element.
- GoDaddy and other builders: use an HTML or embed section that accepts custom elements.