> For the complete documentation index, see [llms.txt](https://docs.nubrick.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nubrick.app/experiment_edior/goal.md).

# ゴールメトリクス

エクスペリメント編集画面のゴールメトリクスについて説明します

{% hint style="danger" %}
設定内容は自動で保存されないため、必ず設定内容を変更、追加した場合には右下の青い保存ボタンを押してください
{% endhint %}

### ゴールメトリクスとは <a href="#about" id="about"></a>

エクスペリメントのゴールとなる指標を設定する項目で、カスタムイベントも設定可能です。

### デフォルトで設定できるゴール <a href="#defaults" id="defaults"></a>

* リテンション1日、リテンション2〜3日、リテンション4〜7日、リテンション8〜14日、リテンション15日以上

### カスタムイベントをゴールに指定する <a href="#custom" id="custom"></a>

* NubrickのUI(バナーやボタンなど)のクリックをカスタムイベントとしてゴールに指定することも可能です
  * その場合、エディタ上で"Dispatch Event on click"の"Event"の"name"の設定を行ってください
  * "Dispatch Event on click"の"Event"で指定した"name"と同じイベント名をゴールメトリクスの"select or input"と記載のあるエリアに直接打ち込むと設定が可能です
    * この際、イベント名の入力を間違えるとゴールカウントされないためご注意ください
    * 一度施策が配信され、クリックイベントが発火するとゴールメトリクスの選択肢から選択することも可能です
      * テスト配信、クリック後に指定する方法もおすすめです


---

# 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.nubrick.app/experiment_edior/goal.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.
