> For the complete documentation index, see [llms.txt](https://help.impact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/microsite-experiences/customize-and-map-your-microsite-registration-form.md).

# 自定义并映射您的微站注册表单

当参与者通过您的微站点注册您的项目时，我们会通过表单收集并存储他们的注册数据。当您 [设置微站点](/brand/zh/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/microsite-experiences/set-up-a-microsite.md) 使用自动设置时，系统会自动创建一个表单。本帮助文章说明如何设置注册表单的提交规则并映射其他表单字段。

#### 自定义您的微站点提交处理规则

您可以为表单设置提交处理规则，以便在有新的提交尝试时通知您团队中的某个人。如果您想跟踪何时收到新参与者，或在有人尝试注册但提交失败时收到通知，这会很有用。您还可以选择自动将新更新的参与者添加到特定的用户分组中，或将其移除。

1. 从左侧导航菜单中，选择 ![](/files/209022bdb234289211a24a980f6227a8684cc439) **\[Engage] → 数据源** → **表单**.
2. 将鼠标悬停在您想自定义的注册表单上，然后选择 **编辑**.
3. 在 *更新注册表单页面*，向下滚动到 *当表单成功*.
   * 选择当有人成功注册时接收电子邮件的人。
   * 选择参与者在成功注册后应添加到的用户分组（如有）。
4. 在 *当表单失败* 部分下，选择当提交尝试失败时接收电子邮件的人。
5. 选择 **更新注册**.

#### 映射注册表单字段

创建微站点注册表单时，您可以配置 Advocate 参与者字段，使其在注册时设置为表单值或静态数据。您的微站点附带以下默认微站点表单字段： *名*, *姓*, *电子邮件*，以及 *密码*。您可以修改注册表单，以收集有关微站点用户的其他信息，例如 *电话号码*， *国家/地区*, *业务类型*等。您还可以添加一个条款和条件复选框，提示用户接受其条款。

**向注册表单添加其他字段**

1. 从左侧导航菜单中，选择 ![](/files/209022bdb234289211a24a980f6227a8684cc439) **\[Engage] → 内容**.
2. 在 *Microsite* 卡片中，选择 **编辑内容**.
   * 此操作会打开微站点编辑器并显示微站点侧边弹出窗口。
3. 在 *已登出布局* 部分中，选择 **注册**.
4. 在 *组件* 菜单中，选择 **添加** → **Microsite 组件**.
5. 选择适合收集其他数据的组件，然后选择 **添加到其他字段**.
6. 在 *组件* 菜单，确保您已选择 **编辑** 选项卡，然后完成以下信息：
   * **必填错误消息：** 当必填字段缺少信息时显示的消息。
   * **输入标签：** 将在注册表单上显示的其他字段名称。
   * **输入名称属性：** 用于将其他字段映射到用户数据的该字段键。
   * ![](/files/3980f01ba7b178cc917bfb7b270feb4fac2992c6) **\[开启]** **可选** 如果它不是必填字段。
   * 从 *输入* 类型下拉菜单，选择该字段如何收集信息。
7. 选择 **保存**.

**映射其他字段**

1. 从左侧导航菜单中，选择 ![](/files/209022bdb234289211a24a980f6227a8684cc439) **\[Engage] → 数据源** → **表单**.
2. 将鼠标悬停在您想自定义的注册表单上，然后选择 **编辑**.
3. 在 *更新注册表单页面*下方，选择 **高级设置**.
4. 在下方 *Advocate 参与者字段*下方，选择 **添加映射**.
5. 从下拉列表中选择一个 Advocate 值，并在 *JSONata 表达式* 文本框中输入将在注册时进行评估的映射值。
   * **添加到分组：** 配置在注册后将参与者添加到分组的特定规则。

     **示例：** `($contains(email, “acme.com”) ? ($append(segments, “Existing”)))`
   * **自定义字段：** 映射您想在注册表单上捕获的自定义值。

     **示例：** cellPhone → `cellPhone`
   * **国家/地区：** 捕获用户的国家代码。

     **示例：** Country → `countryCode`
   * **语言环境：** 名为 locale 并映射到参与者 locale 字段的语言环境表单字段的值。

     **示例：** Locale → `locale`
   * **推荐代码：** 捕获推荐人的唯一推荐代码。

     **示例：** `$exists(referredByCodes) AND referredByCodes != ""`
   * **可被推荐：** 指示用户是否可以被推荐。

     **示例：** Referable → `false`
6. 选择 **更新注册** 完成后。

   * 要查看您的注册表单提交，请参阅 [查看您的注册表单提交](/brand/zh/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/microsite-experiences/view-your-microsite-registration-form-submissions.md).

   <div data-with-frame="true"><figure><img src="/files/1cd0b607b3b091b5b5ac2104256501be66d7c5a2" alt=""><figcaption></figcaption></figure></div>


---

# 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 dynamically by asking a question.

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

```
GET https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/microsite-experiences/customize-and-map-your-microsite-registration-form.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.
