> 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/ja/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participants/manage-advocate-user-segments.md).

# Advocateユーザーセグメントを管理する

セグメンテーションとは、Advocateプログラムの参加者を、共通の特性に基づくユーザーセグメント、つまりグループに分けるプロセスです。参加者をセグメント化することで、彼らの関心をよりよく理解し、行動を追跡し、ニーズに合った価値をより正確に提供できます。

{% tabs %}
{% tab title="人口統計学的要因" %}
一般的なセグメンテーション基準には、次のような人口統計学的要因が含まれます：

* 年齢
* 性別
* 場所
* 業種
* 勤務先
* 収入
  {% endtab %}

{% tab title="関係性に関する要因" %}
また、ビジネスとの関係に関連する次のような複数の特性に基づいてユーザーをセグメント化することもできます：

* 会員ステータス
* サブスクリプションプランの階層
* 最終購入日
* 登録日
* デバイス
  {% endtab %}
  {% endtabs %}

#### ユーザーセグメントを管理する

Advocateプログラムでは、新しいユーザーセグメントを作成したり、個々の参加者をユーザーセグメントに追加したり、参加者をユーザーセグメントに一括追加したり、参加者をユーザーセグメントから削除したりできます。

{% stepper %}
{% step %}
**ステップ1：ユーザーセグメントを作成する**

1. 左側のナビゲーションメニューで、 ![](https://impact-1.gitbook.io/docs/emvxfLrwrlacc4y3y02Y/~gitbook/image?url=https%3A%2F%2F4048883401-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FwMLlMoFBtKJa8ptd3zaw%252Fuploads%252Fgit-blob-230534471fef5f40808e921e41ee44e4a06ded03%252Fe6cb9548999afdc1ed3ce4942e4cb5b45b5cecbd323267aac2a7cd1915fccc09.svg%3Falt%3Dmedia\&width=300\&dpr=3\&quality=100\&sign=71dd50ef\&sv=2) **\[Engage] → データソース → セグメント**.
2. 選択 **セグメントを追加**.
3. の中で **名前** フィールドに、セグメントの説明的な名前を入力します。
4. 選択 **追加**.
   {% endstep %}

{% step %}
**ステップ2：単一の参加者をユーザーセグメントに追加する**

1. 左側のナビゲーションメニューで、 ![](https://impact-1.gitbook.io/docs/emvxfLrwrlacc4y3y02Y/~gitbook/image?url=https%3A%2F%2F4048883401-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FwMLlMoFBtKJa8ptd3zaw%252Fuploads%252Fgit-blob-230534471fef5f40808e921e41ee44e4a06ded03%252Fe6cb9548999afdc1ed3ce4942e4cb5b45b5cecbd323267aac2a7cd1915fccc09.svg%3Falt%3Dmedia\&width=300\&dpr=3\&quality=100\&sign=71dd50ef\&sv=2) **\[Engage] → 参加者**.
2. ユーザーセグメントに追加したい特定の参加者を検索します。
3. 名前を選択して参加者プロフィールを読み込みます。
4. 上の *セグメント* カードを選択し **セグメントを追加**.
5. この参加者を含めたいユーザーセグメントを選択します。
   {% endstep %}

{% step %}
**ステップ3：参加者をユーザーセグメントに一括追加する**

1. 左側のナビゲーションメニューで、 ![](https://impact-1.gitbook.io/docs/emvxfLrwrlacc4y3y02Y/~gitbook/image?url=https%3A%2F%2F4048883401-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FwMLlMoFBtKJa8ptd3zaw%252Fuploads%252Fgit-blob-230534471fef5f40808e921e41ee44e4a06ded03%252Fe6cb9548999afdc1ed3ce4942e4cb5b45b5cecbd323267aac2a7cd1915fccc09.svg%3Falt%3Dmedia\&width=300\&dpr=3\&quality=100\&sign=71dd50ef\&sv=2) **\[Engage] → データソース→ セグメント**.
2. ユーザーを追加したいセグメントの名前を見つけます。
3. 参加者を追加したいセグメント名にカーソルを合わせ、選択します **ユーザーを追加**.
4. インポートの種類を選択 **ユーザー**.
5. 使用して [CSVの例](https://assets.ctfassets.net/s68ib1kj8k5n/37p9zl8fMQvjSW05TRpEiO/8e7f524130ac29092be52f54ba04c7cb/sample-user-upload-hideClassic.csv)、特定のユーザーセグメントに含めたいすべての参加者の一覧を作成します。
6. 選択 **ファイルを選択** をクリックし、準備したCSVファイルを選択します。
7. ドロップダウンリストを使用して、これらの参加者を追加したいセグメントを選択します。
8. 選択 **インポートを開始**.
   {% endstep %}

{% step %}
**ステップ4：参加者をユーザーセグメントから削除する**

1. 左側のナビゲーションメニューで、 ![](https://impact-1.gitbook.io/docs/emvxfLrwrlacc4y3y02Y/~gitbook/image?url=https%3A%2F%2F4048883401-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FwMLlMoFBtKJa8ptd3zaw%252Fuploads%252Fgit-blob-230534471fef5f40808e921e41ee44e4a06ded03%252Fe6cb9548999afdc1ed3ce4942e4cb5b45b5cecbd323267aac2a7cd1915fccc09.svg%3Falt%3Dmedia\&width=300\&dpr=3\&quality=100\&sign=71dd50ef\&sv=2) **\[Engage] → 参加者**.
2. ユーザーセグメントに追加したい特定の参加者を見つけます。
3. 名前を選択して参加者プロフィールを読み込みます。
4. ユーザー概要の左下で、次を選択します ![](https://1458456015-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-d05e21635c52fff94d35ca4c6b05c1deecc699ef%2F768d04f4d7e1b5b745577812f7d67db99d988bfc34749b6e575a04438d6cee36.svg?alt=media) **\[キャンセル]** 参加者をこれ以上含めないセグメントの右側にある
   {% endstep %}
   {% endstepper %}

#### Advocate APIとUTTのセグメンテーション

Advocate REST API と UTT JavaScript ライブラリを使用して、参加者がどのセグメントに属するかをプログラムで管理することもできます。

この機能は、API呼び出しまたはUTTメソッドのユーザーオブジェクトに、以下の「操作」（セグメント名と演算子の組み合わせ）のいずれか1つ以上を含めることで利用できます。

UTT JavaScript ライブラリと API メソッドでこれらの操作を使用する方法の詳細は、当社の [ユーザーAPIドキュメント](https://integrations.impact.com/brand-api-reference/advocate-api-reference-v1/reference/user-overview/user).

{% tabs %}
{% tab title="演算子" %}
以下の演算子は、ユーザーセグメンテーションの基礎です *運用*。これらは、参加者がどのセグメントに所属するかを管理するために使用されます。

| 演算子          | 説明                                                                                                     | 例               |
| ------------ | ------------------------------------------------------------------------------------------------------ | --------------- |
| 追加           | セグメントキーだけを指定すると、参加者をそのセグメントに追加しようとします。参加者がすでにそのセグメントの一部である場合は、何も実行されません。                               | `mySegmentKey`  |
| 削除           | 次を含めると *セグメントキー* を `~` その前に付けると、Advocate にその参加者をセグメントから削除するよう指示します。参加者がすでにそのセグメントに属していない場合は、何も実行されません。 | `~mySegmentKey` |
| クリア          | 次を含めると *キー*を `~` の前に付けると、Advocate にその参加者を現在所属しているすべてのセグメントから削除するよう指示します。                               | `~`             |
| {% endtab %} |                                                                                                        |                 |

{% tab title="運用" %}
利用可能な演算子を使って構成された以下の操作は *演算子*、ユーザーがどのセグメントに所属しているかを管理できます。

| 操作            | 説明                                                                                                                                          | 例                                                   |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------- |
| 追加            | 参加者をセグメントに追加します。既存の他のセグメントは保持されます。                                                                                                          | `{ "id" : "abc_123", ... "segments" : ["A"] }`      |
| 設定            | <p>参加者のセグメントを設定します。既存の他のセグメントは削除されます。</p><p><strong>重要：</strong> 順序が重要です！ set 操作を実行するには、clear <em>演算子</em> <em>(\~)</em> を先に含める必要があります。</p> | `{ "id" : "abc_123", ... "segments" : ["~","A" ] }` |
| 削除            | 参加者をセグメントから削除します。既存の他のセグメントは保持されます。                                                                                                         | `{ "id" : "abc_123", ... "segments" : ["~A"] }`     |
| クリア           | 参加者に設定されたすべてのセグメントをクリアします。                                                                                                                  | `{ "id" : "abc_123", ... "segments" : ["~*"] }`     |
| {% endtab %}  |                                                                                                                                             |                                                     |
| {% endtabs %} |                                                                                                                                             |                                                     |


---

# 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/ja/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participants/manage-advocate-user-segments.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.
