# Lead Forms And Embeds

#### **1. Lead Forms**

Buyer Hub can be used to increase your lead pipeline. You can capture new leads and send them to your CRM or marketing platform.

* Toggle to enable lead forms.
* Click "Edit" to customize lead form settings.
* Select the **Lead Form Type**: Choose between native lead forms or custom embed forms.

**a. Storylane Native Lead Form**

This form provides four fields: `title` ,`email` , `name (optional)` , and `CTA` that are configurable.&#x20;

<div align="left"><figure><img src="/files/W8fdgt3qv7pNBKcez1TC" alt="" width="375"><figcaption></figcaption></figure></div>

**b. Custom Embed Form**

You can build your own custom form, and copy and paste its embed code through the inbuilt lead form guide. Most commonly, we see forms built from [HubSpot](https://knowledge.hubspot.com/forms/create-forms) and [Marketo](https://experienceleague.adobe.com/docs/marketo/using/product-docs/demand-generation/forms/creating-a-form/create-a-form.html).

* **Select when to show the lead form and set up integrations**
* Set when to display the lead form (on demo open, after 10 seconds, after 30 seconds, or after 60 seconds).
* Set up integrations and send new leads to your CRM or marketing platform.

***

#### **2. Add Custom Code**

You can add custom scripts for Google Analytics, chatbots, etc., in the header code and footer code.

<div align="left"><figure><img src="/files/MmM2t1ZGR8BJ84GqNeOm" alt="" width="375"><figcaption></figcaption></figure></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.storylane.io/hubs-docs/creating-hubs/lead-forms-and-embeds.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
