> For the complete documentation index, see [llms.txt](https://docs.groobee.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.groobee.ai/ja/segments/segment/segment-create.md). Agents can also search and read this documentation through its [MCP server](https://docs.groobee.ai/~gitbook/mcp).

# セグメントの作成

## **セグメントの作成**

<img src="https://2476765724-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FojazvrSJySxAAO80FxSG%2Fuploads%2FAH8kl24LQqb2xWhVEqkv%2Fja_140.png?alt=media" alt="" width="563">

### **セグメントの基本情報**

<img src="https://2476765724-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FojazvrSJySxAAO80FxSG%2Fuploads%2FiQFubdTMeX13ANFMapT6%2Fja_141.png?alt=media" alt="" width="563">

* セグメント名：セグメントの作成に必須の入力項目です。スペースを含め最大40文字で入力してください。
* 詳細説明：セグメント名だけでは伝えきれない内容を詳しく入力できます。スペースを含め最大400文字で入力してください。
* タグ：タグ追加ボタンをクリックすると、タグを追加できます。セグメントリストで、タグフィルターを使って特定のセグメントを絞り込むときに使えます。

<table data-header-hidden><thead><tr><th width="331.4765625"></th><th></th></tr></thead><tbody><tr><td><img src="https://2476765724-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FojazvrSJySxAAO80FxSG%2Fuploads%2Fmha6c3OCZoci36zlhiwC%2Fja_142.png?alt=media" alt="" data-size="original"></td><td><ul><li>Enterで区切ると、タグを複数追加できます。</li><li>同じタグは1回だけ追加されます。</li><li>以前に保存したタグをクリックして追加できます。</li></ul></td></tr></tbody></table>

### **ターゲット設定**

<img src="https://2476765724-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FojazvrSJySxAAO80FxSG%2Fuploads%2FbAParQupM4wLnITzwS4o%2Fja_143.png?alt=media" alt="" width="563">

#### ⓐ 活用範囲 <a href="#range" id="range"></a>

* オンサイト：オンサイトキャンペーンで使用できます。

#### ⓑ 時点 <a href="#time" id="time"></a>

* 顧客の過去の履歴やリアルタイムの行動でセグメントをターゲティングするか、2つの条件を組み合わせたセグメントをターゲティングできます。
* 時点を選んで変数を1つ以上追加すると、時点は変更できません。時点を変更するには、変数をすべて削除してください。
* 設定できる変数の時点は、セグメントの活用範囲ごとに次のとおりです。
  * オンサイト：過去、現在、過去 x 現在

**※時点の説明**

* 過去<br>

  <img src="https://2476765724-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FojazvrSJySxAAO80FxSG%2Fuploads%2FIhLsUjZVtRkMn23l1ns0%2Fja_144.png?alt=media" alt="" width="563">

  * 顧客の過去の履歴と属性を基準にターゲティングします。
  * 過去の履歴を検索する期間は、前日を基準に最大3か月まで設定できます。
  * 過去の時点で使える変数の組み合わせは、AND または OR の組み合わせです。
  * 過去の履歴を検索する期間と、その期間の基準日を設定します。
* 現在<br>

  <img src="https://2476765724-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FojazvrSJySxAAO80FxSG%2Fuploads%2Fksof9ZYPUphzRAKioU6w%2Fja_145.png?alt=media" alt="" width="563">

  * サイトにアクセス中の顧客の行動と属性を基準にターゲティングします。現在の時点では、組み合わせ条件として AND/OR とシーケンスの組み合わせを使用できます。
  * 組み合わせ条件\*\*:\*\* 組み合わせ条件は現在の時点でのみ使用できます。
    * AND/OR
      * AND：狭い範囲で細かくセグメントをターゲティングするための組み合わせタイプです。AND で組み合わせた変数は、すべてを同時に満たす必要があります。
      * OR：広い範囲でセグメントをターゲティングするための組み合わせタイプです。OR で組み合わせた変数のうち、1つでも満たせばターゲティングされます。
    * シーケンス
      * シーケンス（強）：サイトにアクセス中の訪問者のうち、行動の順序または移動経路が完全に一致した訪問者をターゲティングします。
      * シーケンス（弱）：サイトにアクセス中の訪問者のうち、行動の順序または移動経路の間に別の行動や移動経路が含まれていても、順序だけが一致した訪問者をターゲティングします。
* 過去 x 現在<br>

  <img src="https://2476765724-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FojazvrSJySxAAO80FxSG%2Fuploads%2F8incJLp0IRKBef0q4yvC%2Fja_146.png?alt=media" alt="" width="563">

  * 過去の変数と現在の変数を別々に設定し、過去に特定の履歴がある顧客がサイトにアクセスしたときの行動と属性を基準にターゲティングします。
  * 過去と現在はそれぞれ1つのグループになり、2つの時点は AND 条件でつながります。\
    各時点の中では、変数を AND または OR 条件で設定できます。
  * 過去の履歴を検索する期間と、その期間の基準日を設定します。

#### ⓒ 期間設定 <a href="#period" id="period"></a>

* 固定：入力した期間を固定して履歴を検索します。
* 表示日基準：キャンペーンの実施期間に合わせて、入力した期間がずれていきます。
* たとえば期間を2025.12.01〜2026.02.05と入力し、2026.03.01〜2026.03.02に実施するキャンペーンにこのセグメントを設定した場合、\
  03.01には2025.12.01〜2026.02.05の履歴を検索し、03.02には期間が2025.12.02〜2026.02.06に変わって履歴を検索します。

### **変数エリア**

<img src="https://2476765724-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FojazvrSJySxAAO80FxSG%2Fuploads%2FGGQdxFv85TnqEW42vY3q%2Fja_147.png?alt=media" alt="" width="563">

**変数の追加・編集・削除**

ⓐ 変数の追加：追加できる変数の一覧を確認できます。

ⓑ 変数設定：変数ごとの条件を設定するエリアです。

ⓒ 変数の初期化：追加した変数を初期化し、最初から設定し直せます。

ⓓ 変数グループの削除：OR 条件の変数グループを削除できます。

ⓔ 変数の削除：変数を1つずつ削除できます。<br>

### **変数リスト**

<img src="https://2476765724-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FojazvrSJySxAAO80FxSG%2Fuploads%2Fv3xPsOYiQ9rNTXTSLXAZ%2Fja_148.png?alt=media" alt="" width="563">

\
ⓐ 約70種類のセグメント変数を用意しています。

ⓑ 各変数の説明はヘルプページで確認できます。

[**変数の説明を見る**](https://docs.groobee.ai/ja/segments/segment/variable.md)

### **予想ターゲット数**

**予想ターゲット数の確認**<br>

![](https://content.gitbook.com/content/ojazvrSJySxAAO80FxSG/blobs/wNHSJUfeyt9YxkqaACWP/9.png)

* 時点に合わせて変数を追加すると、予想ターゲット数をリアルタイムで確認できます。
* 現在の時点：直近7日間に、設定したセグメント条件を満たした訪問者数を表示します。セグメントのターゲット規模を見積もる目安にしてください。（現在の時点は、本日を含む直近7日間、合計8日間で計算されます。）
* 過去の時点：入力した期間内に、設定したセグメント条件を満たした訪問者数を表示します。セグメントのターゲット規模を見積もる目安にしてください。

**予想ターゲット数の制限**<br>

![](https://content.gitbook.com/content/ojazvrSJySxAAO80FxSG/blobs/2MtwEPqGmn5sPlTqPtVI/10.png)

予想ターゲット数を測定できない変数は次のとおりです。

* システム：アクセスIP、アクセスIP帯域
* 訪問者タイプ：会員番号(ID)-大量

予想ターゲット数を測定できない組み合わせ条件

* シーケンス（強）、シーケンス（弱）

## **セグメントの制限事項**

* 大容量ファイルを使った変数は、1つのセグメントにつき1つだけ使用できます。
* 大容量ファイルを使ったセグメントはコピーできません。「新規セグメント作成」を使ってください。

***

## **セグメントの編集**

* 使用中のセグメントを編集すると、実施中のキャンペーンにすぐ反映されます。編集するときは注意してください。
* キャンペーンで活用中のセグメントは削除できません。活用中のキャンペーンを削除するか、別のセグメントに変更してから削除してください。<br>


---

# 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://docs.groobee.ai/ja/segments/segment/segment-create.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.
