> 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/approve-microsite-users-via-segments.md).

# 通过分组批准微站用户

您可以为微站用户设置审批系统，从而更好地控制哪些人可以注册微站并成为您品牌的倡导者。

通过修改微站注册表单、用户细分群组以及微站页面上的条件渲染，为微站设置审批系统。本文将介绍如何配置审批系统，并说明最终用户的注册流程。

{% stepper %}
{% step %}
**第 1 步：创建用户细分群组**

[创建用户细分群组](https://help.impact.com/brand/zh/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participants/manage-advocate-user-segments.md) ，根据用户状态对其进行分组。之后，您可以根据用户所属的细分群组，向他们展示不同类型的微站内容。

我们建议为审批系统创建以下细分群组：

* **待审批：** 已注册微站但尚未获准参与倡导者计划的用户。
* **已批准：** 已注册微站并获准参与倡导者计划的用户。
  {% endstep %}

{% step %}
**第 2 步：创建微站**

您必须在 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. 在 *设置微站* 页面上，选择 **设置推荐微站**.
   * 您将设置一个基础微站，其中包含所有必需的页面、路由和电子邮件，例如验证邮件。
     {% endstep %}

{% step %}
**第 3 步：创建条件区块**

设置好微站后，您需要创建条件区块，分别向待审批用户和已获批用户展示相应内容。如果您希望部分微站用户看到特定内容，同时阻止其他微站用户查看这些内容（例如， *待审批* 用户会看到一条消息，告知他们必须先获得账户批准才能进行推荐），则需要设置条件区块。

我们建议在微站的以下页面设置这些内容：

* **仪表板：** 仪表板是用户获取推荐分享链接和推荐计划基本信息的页面。我们建议限制对仪表板的访问，以防止待审批用户获取分享链接；此外，大多数用户完成微站注册和电子邮件验证后，首先看到的就是此页面。
* **活动：** 活动页面会显示用户的推荐列表和统计数据，例如通过倡导者计划获得的奖励数量。我们建议限制对此页面的访问，避免待审批用户在获批前查看计划相关信息。
* **税务和付款设置页面：** （仅适用于现金付款微站）税务和付款设置页面供用户填写税务和银行信息，以便从倡导者计划中领取现金奖励。我们建议在用户获批前限制对此页面的访问，因为用户无需在获得首笔现金奖励之前填写银行和税务信息。

**创建条件区块**

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. 选择 **添加到 \<section>** ，将条件区块放置在页面上所需的位置。
7. 将细分群组名称更新为“pending”或“approved”。您可以使用微站编辑器 UI 或 HTML 编辑器。

{% tabs %}
{% tab title="微型站点编辑器 UI" %}

1. 选择 **图层** → **条件分区**.
2. 下方 *条件分区*，在屏幕右侧的文本框中输入区段名称。

   <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%2Fwvek3DzjsHfG0au1Kfcg%2FUntitled%20design%20(50).png?alt=media&amp;token=f171a568-2f93-498f-92e0-51a6121c345f" alt="" width="563"><figcaption></figcaption></figure></div>

{% endtab %}

{% tab title="HTML 编辑器" %}

1. 选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-63c2caf34c8c42984b458d40b5ac087e03360307%2Fc5fc23a16175bc8c8603fda06785d3d10c8d687bb14c7c6f1424d705c272963e.svg?alt=media) **\[代码视图]** 在顶部菜单栏中，然后查找 `sqb-conditional-section` HTML 标记。
2. 将 `condition` 属性重命名为 `‘pending’` ，位于 `user.segments`.

   <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%2Fgit-blob-3094d4b343991df595eaf7e3a6402542c74d4561%2F27848d9f4c837c60b74faa6b310ce773d01d5945295ae346cb8c630fe9ab4c05.png?alt=media" alt=""><figcaption></figcaption></figure></div>

{% endtab %}
{% endtabs %}

**向条件分区添加内容**

1. 移动或添加要包含在 *条件分区*中的内容。您可以使用微型站点编辑器 UI 或 HTML 编辑器。
   * 对于 **待审核** 区段，请务必提供清晰的说明，告知用户必须先获得批准，才能访问微型站点的其余内容。
   * 对于 **已批准** 区段，请确保用户访问页面时应看到的所有内容都包含在 `sqb-conditional-section` HTML 标记中。

{% tabs %}
{% tab title="微型站点编辑器 UI" %}
您可以将现有内容移入条件分区，也可以向其中添加新内容。

**移动现有内容**

1. 选择 **图层**.
2. 在 *图层* 侧滑面板中，选择要移动的组件，然后选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-90673bb8db696bdefe7b207cfc07c46caf1d43f1%2Fce7a994978f06dd84cc6a31b890071502b4831990afd8fdd73f73c6d2e203660.png?alt=media) **\[关闭]** 以关闭侧滑面板。
3. 在该组件上，选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-9e2a26b918e7394cf67e8a26e3713e081b203ac9%2F15d049b0c04d1c54c39dbbb5a7cd2ba64d86f1f99220111674e768744ea7ceb9.svg?alt=media) **\[移动]**.
4. 导航到条件分区，然后在分区底部或顶部选择 **移动到分区内容**.

**添加新内容**

1. 在右侧面板中，选择 **添加** 选项卡。
2. 选择要添加的组件。
3. 导航到条件分区，然后在分区底部或顶部选择 **移动到分区内容**.
   {% endtab %}

{% tab title="HTML 编辑器" %}

1. 选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-63c2caf34c8c42984b458d40b5ac087e03360307%2Fc5fc23a16175bc8c8603fda06785d3d10c8d687bb14c7c6f1424d705c272963e.svg?alt=media) **\[代码视图]** 在顶部菜单栏中，然后查找 `sqb-conditional-section` HTML 标记。

2. 复制并粘贴现有 HTML，或向 `sqb-conditional-section` HTML 标签中添加新的 HTML 代码。
   {% endtab %}
   {% endtabs %}

3. 选择 **保存** 以保存微型站点编辑器中所做的更改。
   {% endstep %}

{% step %}
**步骤 4：更新微型站点注册表单**

创建用户分群后，可以更新微型站点表单，以便在用户注册时自动将其加入某个分群。按照以下步骤更新注册表单：

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) **\[互动] → 数据源** → **表单**.
2. 将鼠标悬停在要更新的微型站点注册表单上，然后选择 **编辑**.
3. 向下滚动到 *表单提交成功时* 部分，然后选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-c2cb550b55c51ea1eeff0acbd6f437a03b621a2c%2F60d033ae8a04c14498d5229c3c0160ac05feea7f605dbd770741793c900469f0.svg?alt=media) **\[下拉菜单]** ，该菜单位于 *更新用户分群下方*.
4. 选择 **添加到“pending”** 用户分群。
   * **（可选）** 如果希望将用户添加到其他用户分群或从中移除，请重复上述步骤。
5. 选择 **更新注册** 以保存更改。
6. 以测试用户身份注册微型站点账户，测试所做的更改。如果一切配置正确，创建的测试用户应属于“pending”分群。检查测试用户是否只能看到针对“pending”分群用户的条件内容。
   {% endstep %}

{% step %}
**步骤 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) **\[互动] → 参与者**.
2. 搜索待审批用户的电子邮件地址，进入该用户的参与者页面；或者选择 **高级筛选** 查找 pending 分群中的所有用户。
3. 在用户的参与者页面上，向下滚动到 *分群* 部分。
4. 选择 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-d05e21635c52fff94d35ca4c6b05c1deecc699ef%2F768d04f4d7e1b5b745577812f7d67db99d988bfc34749b6e575a04438d6cee36.svg?alt=media) **\[删除]** ，该按钮位于 *pending* 分群旁边，可将用户从该分群中移除。
5. 选择 **添加分群** ，然后选择 **approved** 分群，其位置在 ![](https://1186853034-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-c2cb550b55c51ea1eeff0acbd6f437a03b621a2c%2F60d033ae8a04c14498d5229c3c0160ac05feea7f605dbd770741793c900469f0.svg?alt=media) **\[下拉菜单]中**.
   * 用户现在应已进入 *已批准* 细分群组，并应能在微型网站上看到已批准的消息。
     {% endstep %}

{% step %}
**用户体验**

1. 用户在微型网站注册，并按照标准流程验证电子邮件。注册后，系统会自动将用户添加到 *待处理* 细分群组。
2. 电子邮件验证流程完成后，用户将被引导至微型网站仪表板。由于用户位于 *待处理* 细分群组中，他们会在微型网站上看到 *待处理* 消息。
3. 用户获批后，刷新 *仪表板* 页面或重新登录微型网站后，就会看到已批准的消息。
   {% endstep %}
   {% endstepper %}


---

# 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://help.impact.com/brand/zh/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/microsite-experiences/approve-microsite-users-via-segments.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.
