# キー行動の設定

## キー行動に設定できるイベント <a href="#events-for-key-behavior" id="events-for-key-behavior"></a>

「[カスタムイベント](/data-extension/custom-event.md)」または「[コードレスイベント](/data-extension/codeless-event.md)」で設定しているイベントをキー行動として設定できます。

キー行動として設定したい行動がいずれかのイベントになっていない場合は先に設定の上お使いください。

## キー行動の設定 <a href="#configure-key-behavior" id="configure-key-behavior"></a>

`データ設定＞キー行動`から画面に移動できます。

<figure><img src="/files/umCbFOyUzIx2Q1JGNnni" alt=""><figcaption></figcaption></figure>

キー行動一覧画面の右上の`作成`を選択し、キー行動作成画面にはいります。

<figure><img src="/files/O9ru5u6nYhzVTAyxnkFW" alt=""><figcaption></figcaption></figure>

1. ターゲットイベントの設定
   * 登録しているカスタムイベントよりキー行動として登録するイベントを選択してください。
2. リテンション（インターバル）の設定
   * キー行動では「経験」「継続」「休止」3つの利用サイクルで設定した行動の受容性を可視化できます。
   * 経験：一度でもキー行動をしたユーザー。
   * 継続：キー行動のリテンションで設定したインターバルの条件に合致したユーザー。
     * デフォルトの場合は、8インターバル中4インターバルとなっています。
   * 休止：「経験」や「継続」になったのちある一定期間キー行動が行われなかったユーザー。休止の条件は継続の条件に連動して変更されます。
     * デフォルトの場合は、8インターバル連続で発生がない場合となっています。
3. 右上の`作成`を押す。
   * モーダルが表示されるため、名前とキー行動の説明を入力して再度`保存`を押す。


---

# Agent Instructions: 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:

```
GET https://docs.wicle.io/visualizing-retention/key-behavior/edit-key-behavior.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
