> 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/analytics/event/howto-search-event.md).

# イベント検索で様々な行動を探す

イベント検索で行動の回数、活動時間、ユーザー属性を組み合わせて対象を絞り込む条件の設定例を紹介します。

## 様々な行動の探し方でできること <a href="#what-you-can-do" id="what-you-can-do"></a>

`イベント`画面で`詳細条件を選択`をオンにし、次の条件を指定すると、行動・回数・活動時間を組み合わせてユーザーを検索できます。条件を追加する操作は[イベントを検索する](/analytics/event/search-event.md)をご覧ください。

`期間内イベント数`は、その期間にイベント条件を満たした回数をユーザーごとに数える条件です。回数の条件は保存できないため、保存したイベント条件を使う場合も検索時に追加します。入力例の文字列に引用符（`"`）を付ける必要はありません。

### 1. 直近1週間で共有ボタンを3回以上押したユーザー <a href="#example-1" id="example-1"></a>

| 条件         | 設定例                         |
| ---------- | --------------------------- |
| イベント条件     | `クリックのテキスト` → `次を含む` → `共有` |
| イベント条件（追加） | `期間内イベント数` → `次以上` → `3`    |
| ユーザー条件     | 条件なし                        |
| 期間         | `直近7日間`                     |

### 2. 昨日、特定ページで30秒以上活動したユーザー <a href="#example-2" id="example-2"></a>

| 条件         | 設定例                                           |
| ---------- | --------------------------------------------- |
| イベント条件     | `活動時間（PV）のURL` → `次と等しい` → `https://wicle.io` |
| イベント条件（追加） | `活動時間（PV）の活動時間（秒）` → `次以上` → `30`             |
| ユーザー条件     | 条件なし                                          |
| 期間         | `昨日`                                          |

URLは実際に計測されている値に合わせて入力します。活動時間は、ページを開いていた時間全体ではなく、操作などから計測した時間です。詳しくは[自動計測](/data-setting/event-tracking/auto-event.md)をご覧ください。

### 3. 直近1週間で活動時間が10秒に達した来訪が5回以上あるユーザー <a href="#example-3" id="example-3"></a>

| 条件         | 設定例                                    |
| ---------- | -------------------------------------- |
| イベント条件     | `活動時間（セッション）の活動時間（秒）` → `次と等しい` → `10` |
| イベント条件（追加） | `期間内イベント数` → `次以上` → `5`               |
| ユーザー条件     | 条件なし                                   |
| 期間         | `直近7日間`                                |

活動時間が10秒に達したイベントを、ユーザーごとに5回以上計測した条件です。`次と等しい`を指定することで、同じ来訪で30秒・60秒などに達したイベントを重ねて数えないようにします。

### 4. 直近4週間に社外ユーザーが機能Aを利用した行動 <a href="#example-4" id="example-4"></a>

あらかじめ「CSVダウンロード」などの機能利用を、コードレスイベントまたはカスタムイベントで計測しておきます。

| 条件     | 設定例                                     |
| ------ | --------------------------------------- |
| イベント条件 | 対象のコードレスイベントまたはカスタムイベント（例：CSVダウンロード）を選択 |
| ユーザー条件 | `社内ユーザーフラグ` → `次と等しい` → `false`         |
| 期間     | `直近4週間`                                 |

[保存したイベント条件](/analytics/event/search-event.md#save-conditions)も呼び出せます。社内ユーザーフラグの設定方法は[ユーザープロファイル](/data-extension/user-profile.md)をご覧ください。直近4週間は28日間で、暦上の1ヶ月とは異なります。


---

# 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.wicle.io/analytics/event/howto-search-event.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.
