> 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/visualizing-retention/key-behavior/edit-key-behavior.md).

# キー行動の設定

## キー行動に設定できるイベント <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
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/visualizing-retention/key-behavior/edit-key-behavior.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.
