> ## 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.

# 如何通过 URL 参数传递测验答案

> 了解如何在 LanderLab 中通过提交按钮和继续按钮将测验答案作为 URL 参数传递。将用户数据发送到自定义结果页、跟踪工具或外部漏斗。

## 工作原理

当用户与你的页面交互时（例如填写表单或完成一个步骤），他们的数据可以作为参数添加到 URL 中。

示例：

```text theme={null}
?name=John&email=john@email.com
```

之后，这些数据可以在下一个页面或外部工具中使用。

<Frame>
  <img src="https://mintcdn.com/landerlab-babdc23f/WPonUwjehwMMvCil/images/Group-78.png?fit=max&auto=format&n=WPonUwjehwMMvCil&q=85&s=cd1be53f4315d48c5b0fcdb04ea00221" alt="启用 Forward URL Parameters 和 Include Quiz Data 设置" width="1919" height="991" data-path="images/Group-78.png" />
</Frame>

## 如何启用

要通过 URL 传递数据：

1. 进入页面或 Flow 的 **Settings**
2. 启用 **Forward URL Parameters**
3. 启用 **Include Quiz Data**

## 重要说明

* 参数基于字段的 **Name**，而不是标签（Label）
* 字段名称必须**唯一且格式正确**
* 在重定向到其他页面或 URL 时生效

## 按钮要求

只有在使用以下按钮时，才会触发通过 URL 参数传递数据：

* **Submit** 按钮
* **Continue** 按钮
* **CTA** 按钮

## 常见用例

* 将数据传递到漏斗中的另一个页面
* 将信息发送到外部工具或系统
* 在各个步骤之间保持跟踪数据一致


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.