> For the complete documentation index, see [llms.txt](https://helps.ptengine.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helps.ptengine.com/cn/experience/user-group.md).

# 用户组

把访问者按行为、属性、兴趣分成一组一组，是做个性化的前提——知道面对的是谁，才谈得上给谁看什么。

在 Experience 里，用户组是体验投放的“收件人名单”：创建好的体验要投给谁，就在这里圈定。

***

## 想做什么，看哪篇 <a href="#what-to-read" id="what-to-read"></a>

| 想做什么             | 看这篇                                                                                  |
| ---------------- | ------------------------------------------------------------------------------------ |
| 从模板快速建一个用户组      | [用户组的创建方法](https://helps.ptengine.com/cn/experience/user-group/create-segment.md)    |
| 了解筛选条件有哪些类型、怎么组合 | [用户组详细配置指南](https://helps.ptengine.com/cn/experience/user-group/segment-advanced.md) |
| 看这组人的规模、特征和行为表现  | [用户组报告](https://helps.ptengine.com/cn/experience/user-group/segment-report.md)       |

***

## 两类用户：匿名 / 已识别 <a href="#two-user-types" id="two-user-types"></a>

Experience 把访问者分成两类来识别，能拿到的数据不一样，能做的事也不一样。

### 匿名用户 <a href="#anonymous-users" id="anonymous-users"></a>

靠浏览器 Cookie 识别，**装好基础代码就默认可用，不需要额外开发**。

| 能拿到什么 |                                          |
| ----- | ---------------------------------------- |
| 行为    | 进站页面、首访还是回访、流量来源                         |
| 属性    | 设备类型（PC / 手机）、浏览器及版本、操作系统、地理位置（国家 / 省市级） |

* ✅ 不涉及个人信息，覆盖面广，适合看整体趋势
* ⚠️ Cookie 过期或被清除会导致数据断裂；跨设备、跨浏览器追踪不了

### 已识别用户 <a href="#identified-users" id="identified-users"></a>

在匿名数据之上，通过部署**用户识别标签**把你自己的数据传进来。

| 能拿到什么                                |
| ------------------------------------ |
| 会员 ID 等唯一标识、年龄、性别、客单价，以及其他只有你才有的业务数据 |

* ✅ 自有数据与行为数据打通，能建立完整用户画像，做到按人投放
* ⚠️ 需要在网站上写 JavaScript，要占用前端开发资源

> 设置方法见 [用户识别功能概览](https://helps.ptengine.com/cn/experience/setting/user-identification.md) 与 [用户识别标签的设置方法](https://helps.ptengine.com/cn/experience/setting/user-id-tag-setup.md)。

***

## 典型用法 <a href="#typical-use-cases" id="typical-use-cases"></a>

**场景 1 · 电商站推动非会员注册**

1. 创建一个促进注册的弹窗体验
2. 在用户组里圈出“未注册的匿名用户”
3. 把体验的投放对象指定为这个用户组

**场景 2 · 给广告来的回访用户看专属内容**

1. 创建页面编辑体验，加入专属内容
2. 在用户组里圈出“来自该广告渠道的回访用户”
3. 把体验的投放对象指定为这个用户组

两个场景的共同套路都是：**先建体验 → 再圈人 → 把体验投给这组人**。

***

## 开始之前 <a href="#before-you-start" id="before-you-start"></a>

* 用户组基于已部署的 Ptengine 基础代码，尚未部署请先参考 [基础代码的安装方法](https://helps.ptengine.com/cn/start-guide/quick/tag-setup.md)
* 想按“做过某个行为”圈人（如加购、提交表单），需要先把该行为设为事件，参考 [事件功能概述](https://helps.ptengine.com/cn/experience/setting/event-tracking.md)
* 想按会员 ID、客单价这类自有数据圈人，需要先部署 [用户识别标签](https://helps.ptengine.com/cn/experience/setting/user-id-tag-setup.md)

***

## 注意事项 <a href="#notes" id="notes"></a>

* 用户组创建后才开始积累数据，报告里看不到创建之前的历史
* 用户组报告数据异常时，参考 [用户组报告显示异常的原因和解决方案](https://helps.ptengine.com/cn/faq/data/group-report-issue.md)
* 筛选条件的具体含义见 [用户组的筛选条件说明](https://helps.ptengine.com/cn/faq/experience-edit/filter-conditions.md)

***

## 相关页面 <a href="#related-pages" id="related-pages"></a>

* [体验条件的设置](https://helps.ptengine.com/cn/experience/campaign/delivery-conditions.md) — 把用户组用作投放条件
* [Experience术语表](https://helps.ptengine.com/cn/experience/glossary.md)
