> 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/funnel/advanced-condition.md).

# 高度な条件設定

ステップのインスペクタ（`条件`タブ）にある`接続条件`、およびコンバージョン設定ダイアログで、前ステップとの関係を細かく指定できます。

## 対象ユーザー <a href="#target-user" id="target-user"></a>

前ステップに到達したユーザー（`到達`）か、到達しなかったユーザー（`未到達`）のどちらを、このステップの母集合にするかを選びます。

{% hint style="info" %}
開始ステップとその直下では`到達`固定です。
{% endhint %}

## タイミング <a href="#timing" id="timing"></a>

前ステップのイベントとの前後関係で、このステップの集計対象を絞ります。

| タイミング       | 説明                                          |
| ----------- | ------------------------------------------- |
| 以降          | 前ステップのイベント発生日時より後で条件に合致したイベントに絞られます         |
| 以降(同時含む)    | 前ステップより後（同一時刻を含む）で条件に合致したイベントに絞られます         |
| 以前          | 前ステップのイベント発生日時より前で条件に合致したイベントに絞られます         |
| 以前(同時含む)    | 前ステップより前（同一時刻を含む）で条件に合致したイベントに絞られます         |
| 同一セッション     | 前ステップと同じセッション内（前後関係は問わない）で条件に合致したイベントに絞られます |
| 同一セッションかつ以降 | 同じセッション内、かつ前ステップより後で条件に合致したイベントに絞られます       |
| すべて         | 対象期間の全てのイベントが対象です（前後関係は問いません）               |

キャンバスの接続線上には、対象ユーザーとタイミングのラベル（時間差がある場合は分数も）が表示されます。

{% hint style="info" %}
デフォルトの接続条件は、対象ユーザーが`到達`、タイミングが`以降(同時含む)`、最大時間差なしです。コンバージョンのデフォルトタイミングは`すべて`です。
{% endhint %}

## 最大時間差（分） <a href="#max-time-diff" id="max-time-diff"></a>

前ステップのいずれかのイベント発生時刻から、指定した分数以内に発生したイベントだけを集計対象にします。

例えば`10`と設定すると、前ステップのいずれかのイベント発生時刻から**10分以内**に発生したイベントに集計対象が絞られます。空欄の場合は時間差の制限なしです。


---

# 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/analytics/funnel/advanced-condition.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.
