> For the complete documentation index, see [llms.txt](https://developers-apps-in-toss.toss.im/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers-apps-in-toss.toss.im/guide/zh/marketing/intro.md).

# 分群

分群是在 Apps in Toss 控制台中创建和管理符合特定条件的用户群的功能。用于像营销或发送通知这样，只想向特定用户发送消息时。

***

### 使用分群有什么好处

* 可以进行精准定向。只向符合所需条件的用户发送消息。
* 可以进行数据驱动的营销。可以根据用户的行为和特征来设计活动。
* 可以提升用户体验。通过提供个性化消息，提高参与率和满意度。

**提供的条件类别**

可以组合交易信息、用户信息、用户活动、用户画像这四类条件。

* **交易信息** — 与用户实际交易相关的信息，例如交易记录中的品牌、广告类别、是否使用 Toss Pay 等。
* **用户信息** — 年龄、性别、信用分数、应用版本、运营商等基础用户属性。
* **用户活动** — 以应用内的行为记录为依据。不是迷你应用登录，而是 **仅可按访问**方式设置。
* **用户画像** — 金融倾向、生命周期阶段、兴趣推断信息等，对用户进行综合分析得到的信息。

<figure><img src="https://1415110023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8pQgXiR5QAzduV54W8Om%2Fuploads%2FRW9lgK4SkQ0sFStOF1W4%2Fimage.png?alt=media&amp;token=34d7ecaa-e614-422e-aafc-fee5c49ca8f4" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**请参考**

* 多个条件 **AND 条件或 OR 条件**组合使用。
* 使用目标抽样时，可以调整包含在分群中的用户数量。
* 即使删除已创建的分群，也无法再次创建同名分群。
  {% endhint %}

***

### 在控制台中设置

**1. 创建分群**

进入分群菜单后 **'+创建'** 按钮。

* 进入方法：Apps in Toss 控制台 → 选择工作区 → 选择迷你应用 → 左侧菜单选择“分群”

<figure><img src="https://1415110023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8pQgXiR5QAzduV54W8Om%2Fuploads%2FzQroDTVArcKwNawySJa5%2Fimage.png?alt=media&amp;token=767fd26f-ff36-45ec-9e16-920d512bad34" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1415110023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8pQgXiR5QAzduV54W8Om%2Fuploads%2FE4eS4mzvSVBc4wgO4KYc%2Fimage.png?alt=media&amp;token=09207478-7a65-4067-88bb-b54271e92a5d" alt=""><figcaption></figcaption></figure>

**2. 设置类别和条件**

选择所需类别和子条件后 **'添加'** 后会添加到右侧 **'已选择的分群'** 屏幕中。

* 如果只有 1 个条件，可以直接 **'保存'** 并保存。
* 如果要同时使用多个条件，请先添加所有需要的分群，然后设置 **'AND'** 或 **'OR'** 条件。
* 某些需要预测的分群需要设置准确度。
  * 提高准确度时，分群的规模（样本数）可能会减少。
  * 如果样本数很重要，可以降低准确度使用。不过，定向准确度可能会下降。
  * 一般情况下，请设置为 50% 以上。

{% hint style="info" %}
**示例 — 如果想向“住在首尔特别市并且似乎拥有自住房的人”发送消息？**

1. 用户信息 → 地区 → 选择首尔特别市后点击“添加”
2. 点击“首页”返回最初的类别列表
3. 用户画像 → 自有住房\_整体 → 设置准确度后点击“添加”
4. 在右侧“已选择的分群”中 **'AND'** 选择
   * 如果想发送给住在首尔特别市或似乎拥有自住房的人 **'OR'** 选择条件
     {% endhint %}

<figure><img src="https://1415110023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8pQgXiR5QAzduV54W8Om%2Fuploads%2Fz2pim1YANBYZsnSkPS3q%2Fimage.png?alt=media&amp;token=f0091b35-ec88-4b47-8342-7e06e88d5279" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1415110023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8pQgXiR5QAzduV54W8Om%2Fuploads%2FLd0htSyjrsO35m8uZFyH%2Fimage.png?alt=media&amp;token=be09fec3-58b7-4244-8ed5-42c0465b53bb" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1415110023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8pQgXiR5QAzduV54W8Om%2Fuploads%2F0hoxtkMch9INj0SXlCeF%2Fimage.png?alt=media&amp;token=799c8696-2612-4e77-ae67-e7d6cbda4b37" alt=""><figcaption></figcaption></figure>

选择 AND 或 OR 条件后，分群会合并为 1 个，并变更为符合该条件的人数。

* **还原** — 会重新分离为各个分群。
* **保存** — 会保存为条件合并后的分群。

<figure><img src="https://1415110023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8pQgXiR5QAzduV54W8Om%2Fuploads%2FK4jxnzbRXp13wBg0wvOM%2Fimage.png?alt=media&amp;token=889455f2-f971-45fa-913a-e67b305a0f3b" alt=""><figcaption></figcaption></figure>

**3. 保存**

点击保存后，可以设置分群名、说明、收藏和固定与否。

<figure><img src="https://1415110023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8pQgXiR5QAzduV54W8Om%2Fuploads%2FvoJ1qGdlCmZAZpwXy2VY%2Fimage.png?alt=media&amp;token=44e8175a-8781-4b23-b487-962cc85ce01c" alt=""><figcaption></figcaption></figure>

* **分群名** — 已添加的分群名称会自动输入。可以自由更改为想要的名称。只是删除后，无法再次使用相同名称。
* **分群说明** — 请填写构建该分群的原因或管理备注。
* **收藏** — 设置后可立即用于推送、通知和智能发送。
* **按固定样本数保存** — 可以固定保存时的样本数来使用。此时样本数不会更新，请根据目的选择。

保存完成后，可在分群菜单以及推送、通知和智能发送中立即查看和使用。


---

# 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://developers-apps-in-toss.toss.im/guide/zh/marketing/intro.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.
