> 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. 从左侧导航菜单中选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-230534471fef5f40808e921e41ee44e4a06ded03%2Fe6cb9548999afdc1ed3ce4942e4cb5b45b5cecbd323267aac2a7cd1915fccc09.svg?alt=media) **\[Engage] → 数据源** → **表单**.
2. 将鼠标悬停在要自定义的注册表单上，然后选择 **编辑**.
3. 在 *更新注册表单页面*，向下滚动到 *表单提交成功时*.
   * 选择在有人成功注册时接收电子邮件的人。
   * 选择参与者成功注册后应添加到的用户细分（如果有）。
4. 在 *表单提交失败时* 部分，选择在提交尝试失败时接收电子邮件的人。
5. 选择 **更新注册**.

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

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

**向注册表单添加额外字段**

1. 从左侧导航菜单中选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-230534471fef5f40808e921e41ee44e4a06ded03%2Fe6cb9548999afdc1ed3ce4942e4cb5b45b5cecbd323267aac2a7cd1915fccc09.svg?alt=media) **\[Engage] → 内容**.
2. 在 *微站点* 卡片，选择 **编辑内容**.
   * 此操作会打开微型网站编辑器并显示微型网站侧边栏。
3. 在 *退出登录布局* 部分，选择 **注册**.
4. 在……中 *组件* 菜单中，选择 **添加** → **微站点组件**.
5. 选择适合收集额外数据的组件，然后选择 **添加到额外字段**.
6. 在……中 *组件* 菜单，确保您已选择 **编辑** 选项卡，然后填写以下信息：
   * **必填错误消息：** 当必填字段缺少信息时显示的消息。
   * **输入标签：** 将在注册表单上显示的额外字段名称。
   * **输入 name 属性：** 用于将该额外字段映射到用户数据的键。
   * ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FiZjM1xY8o3v1iR3Zaysd%2FToggle.svg?alt=media\&token=b1550d48-bba9-4e81-8604-bc12370c5caa) **\[打开]** **可选** 如果它不是必填字段。
   * 在 *输入* 类型下拉菜单，选择该字段收集信息的方式。
7. 选择 **保存**.

**映射额外字段**

1. 从左侧导航菜单中选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-230534471fef5f40808e921e41ee44e4a06ded03%2Fe6cb9548999afdc1ed3ce4942e4cb5b45b5cecbd323267aac2a7cd1915fccc09.svg?alt=media) **\[Engage] → 数据源** → **表单**.
2. 将鼠标悬停在要自定义的注册表单上，然后选择 **编辑**.
3. 在 *更新注册表单页面*下，选择 **高级设置**.
4. 在下方 *Advocate 参与者字段*下，选择 **添加映射**.
5. 从下拉列表中选择一个 Advocate 值，并在 *JSONata 表达式* 文本框中输入映射值，以便在注册时进行计算。
   * **添加到细分：** 配置在注册后将参与者添加到细分的具体规则。

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

     **示例：** 手机号码 → `手机号码`
   * **国家：** 捕获用户的国家代码。

     **示例：** 国家 → `countryCode`
   * **区域设置：** 名为并映射到参与者区域设置字段的 locale 表单字段的值。

     **示例：** 区域设置 → `locale`
   * **推荐代码：** 捕获推荐人的唯一推荐码。

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

     **示例：** 可推荐 → `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="https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FSUEDTMBL8XWwd5SDsQrL%2FUntitled%20design%20(51).png?alt=media&amp;token=2c8b47f4-c2b7-4b6b-88be-bb96df00ec44" 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, and the optional `goal` 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>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
