> ## Documentation Index
> Fetch the complete documentation index at: https://docs.landerlab.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Use Variables for Personalization

> Use variables to personalize funnels by storing user inputs and displaying dynamic content across your landing pages and quizzes.

Variables allow you to store user input and reuse it later in your flow. This makes your quiz or form more dynamic and personalized.

For example, you can show a user’s name on the next step after they enter it.

<video src="https://mintcdn.com/landerlab-babdc23f/zX1e_FbvO5ADeBfk/videos/Dynamic-content-Variables-1.webm?fit=max&auto=format&n=zX1e_FbvO5ADeBfk&q=85&s=929cd20f9490ff5333ff22e14b0ec115" controls={true} data-path="videos/Dynamic-content-Variables-1.webm" />

***

## How Variables Work

Variables are created automatically when a user interacts with certain blocks.

Supported blocks include:

* **Choices** → Multiple Choice, Image Choice
* **Inputs** → Text, Email, Phone, Long Text, Select, Checkbox, Number, Date, Zip Code, Range Slider, Hidden Field

Each input stores its value as a variable.

***

## Variable Naming

<Frame>
  <img src="https://mintcdn.com/landerlab-babdc23f/zX1e_FbvO5ADeBfk/images/image-12-1024x523.png?fit=max&auto=format&n=zX1e_FbvO5ADeBfk&q=85&s=94dbb7cae61bf03f6b0c3f404bc73c53" alt="Image 12 1024x523" width="1024" height="523" data-path="images/image-12-1024x523.png" />
</Frame>

* The **field name = variable name**
* Variables are written like this:

```text theme={null}
{{Variable Name}}
```

Example:\
\
If your field is named **First Name**, the variable becomes:

```text theme={null}
{{First Name}}
```

If you rename the field, the variable updates automatically.

***

## Using Variables

<Frame>
  <img src="https://mintcdn.com/landerlab-babdc23f/zX1e_FbvO5ADeBfk/images/image-14-768x392.png?fit=max&auto=format&n=zX1e_FbvO5ADeBfk&q=85&s=f1c456ae0a3dfb494929e47fe518c7c1" alt="Image 14 768x392" width="768" height="392" data-path="images/image-14-768x392.png" />
</Frame>

You can insert variables into text in two ways:

### 1. Manual input

Type the variable directly:

```text theme={null}
Thank you {{First Name}}!
```

### 2. Variable picker

Use the { }\*\* icon\*\* in the text editor to insert variables.

## Example

Step 1: User enters their name\
\
Step 2: Show personalized message

Output:

```text theme={null}
Thank you {{First Name}}!
```

***

## Important Rules

* Variables can only be used in **later steps**, not the same step
* Variable names must be **unique**
* Values are stored as **text**

***

## Best Practices

* Use clear and consistent field names
* Avoid duplicate names across fields
* Plan your step order to use variables effectively

<Tip>
  Tip: Personalization using variables increases engagement and can improve conversion rates.
</Tip>
