> For the complete documentation index, see [llms.txt](https://docs.gmetri.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gmetri.com/metaverse/build/editor/project-settings/lead-generation.md).

# Lead Generation

In case you want to collect any information from the viewer in your Metaverse. You can use this section to show a form to collect data from them.

This can be used for various purposes including training, registration, webinars, events etc. It allows viewers to enter a few details before entering your experience.

This can be set up from the “**Settings > Lead Generation**” page as shown below

<figure><img src="https://2186043722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mgll1jjQMRTVj7p6n7g%2Fuploads%2Ft6bvZ4dKFRpNe1uG3ee8%2Fimage.png?alt=media&amp;token=18eb0f98-606a-4c82-9c6f-a040ff4d2b20" alt=""><figcaption><p>Setting up Lead Generation form</p></figcaption></figure>

The viewer is presented with a form like this when opening the deployment:

<figure><img src="https://2186043722-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mgll1jjQMRTVj7p6n7g%2Fuploads%2FcXpInGJuG6lYV1N9V3eV%2Fimage.png?alt=media&amp;token=6006825e-53ef-4a44-9305-763d195c2996" alt=""><figcaption><p>Lead Generation form for the viewer</p></figcaption></figure>

### More Options

* Clicking on "Required" ensure that that question isn't skippable
* Clicking on Viewer Identifiers is useful if you want to store this response in the [v\_identifier\_var](/metaverse/build/variables.md#v_identifier_var) variable.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.gmetri.com/metaverse/build/editor/project-settings/lead-generation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
