> For the complete documentation index, see [llms.txt](https://docs.wicle.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wicle.io/other/faq/how-to-use/using-search.md).

# 検索とセグメントの使い方

ユーザー検索・イベント検索・セグメントを使う際の、よくある質問をまとめています。

## 「基準日」とは何ですか？なぜ設定が必要なのですか？ <a href="#base-date" id="base-date"></a>

`基準日` は集計の基準となる日で、その日時点でのユーザーの状態を集計します。デフォルトは `今日` で、`1日前`〜`3ヶ月前` やカレンダーでの指定もできます。

基準日方式のため、期間中にユーザーのフェーズが変化しても重複してカウントされません。

詳しくは [ユーザーを検索する](/analytics/user/search-user.md) をご覧ください。

## 検索条件のAND/ORはどう設定しますか？異なる項目同士もOR条件にできますか？ <a href="#and-or" id="and-or"></a>

条件を追加するとAND/ORを指定できますが、OR条件は `同じ項目内` でのみ有効です。異なる項目同士は常にAND条件になります。

詳しくは [イベントを検索する](/analytics/event/search-event.md) をご覧ください。

## 社内ユーザーやテストアクセスを検索結果から除外するには？ <a href="#exclude-internal" id="exclude-internal"></a>

ユーザープロファイルで社内ユーザーフラグ（`isInternalUser`）を送信していれば、プリセット条件の `社外ユーザーイベント` や該当フラグの条件で除外できます。フラグを送信していない場合は除外できません。

詳しくは [イベントのプリセット条件](/analytics/event/preset-condition.md) をご覧ください。

## セグメントの条件を変更すると、使っている画面の結果も変わりますか？ <a href="#segment-change" id="segment-change"></a>

はい。セグメントの条件を変更すると、そのセグメントを検索条件やフィルタに使っている各画面の結果も連動して変わります。意図しない変更は既存の分析に影響するため、ご注意ください。

詳しくは [セグメントを使う](/segment/segment/use.md) をご覧ください。

## 複数のユーザー群を比較できますか？最大いくつまで比較できますか？ <a href="#compare-groups" id="compare-groups"></a>

`比較条件を追加` から、最大3つのユーザー群（A・B・C群）を並べて比較できます。すべての群に共通の条件を適用する `共通条件` も設定でき、メインに選んだ群を基準に各群の差分が表示されます。

詳しくは [ユーザーを比較する](/analytics/user/compare-user.md) をご覧ください。

## 同じイベントを複数回発生させたユーザーを、1人としてまとめて見られますか？ <a href="#group-by-user" id="group-by-user"></a>

はい。イベント検索の結果で `ユーザー毎にまとめて表示` を選択すると、同じイベントを複数回発生させたユーザーが1人としてまとめて表示されます。

詳しくは [イベント検索結果を見る](/analytics/event/result-event.md) をご覧ください。

## 保存した検索条件をダッシュボードに表示できますか？ <a href="#save-to-dashboard" id="save-to-dashboard"></a>

カスタムダッシュボードでは、画面上の対話で測りたい指標を伝えてウィジェットを追加します。保存した検索条件をそのままダッシュボードに載せる操作はありません。

詳しくは [ウィジェットを追加・編集する](/analytics/dashboard/custom-dashboard/create-widget.md) をご覧ください。


---

# 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://docs.wicle.io/other/faq/how-to-use/using-search.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.
